During the debugging session, you can quickly evaluate an arbitrary expression from the editor. Start a debugging session &shortcut:Debug; and click the expression while holding Alt.
GoLand tips, #2083