Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Debugger does not send messages over protocol if debugged program does not launch #79

Closed
DonJayamanne opened this issue Feb 15, 2018 · 2 comments

Comments

@DonJayamanne
Copy link
Contributor

  • 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:

@int19h
Copy link
Contributor

int19h commented Feb 16, 2018

Isn't it the same as #55 ?

@DonJayamanne
Copy link
Contributor Author

Oops, for some reason I assumed I had not created an issue for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants