Press Ctrl+~ (tilde) to toggle the console.
Move mouse pointer to debug message and make sure that caller context is NOT inside debug() definition, but points to debug() calling point.