Reputation: 4280
I am brand new to VSCode with Python. Is it possible to write to the tab DEBUG CONSOLE (only) from Python code? I have Googled but found nothing on this.
The debugger does this internally, e.g. on a breakpoint set to Log Message. For the moment, if I use print()
that does go to DEBUG CONSOLE, but it also goes to TERMINAL tab, which I'd rather it did not. The launch.json
has "console": "integratedTerminal"
if that is relevant.
Upvotes: 6
Views: 13448
Reputation: 16100
You can set "console": "internalConsole"
to have output go to the debug console.
Upvotes: 6