You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
Debug a python file which would not compile (e.g. mixed spaces and tabs)
pydevd Debugger spits out errors in stdout and process ends
The above workflow is fine when debugging with terminals, as the output in the terminal window has the necessary error message with the stack trace.
However when debugging in VS Code without any terminals, then there's no output. To the user the debugger isn't working (nothing is happening, though in the background it started and died - immediately).
Solution, VS Code adapter expects the output to come over the protocol so the messages can be displayed in the output window.
Note:
Default behaivour in VS Code extension is to debug without any terminal
The above workflow is fine when debugging with terminals, as the output in the terminal window has the necessary error message with the stack trace.
However when debugging in VS Code without any terminals, then there's no output. To the user the debugger isn't working (nothing is happening, though in the background it started and died - immediately).
Solution, VS Code adapter expects the output to come over the protocol so the messages can be displayed in the output window.
Note:
The text was updated successfully, but these errors were encountered: