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
I created an issue because VSCode wouldn't stop in a breakpoint. The problem was that it was configured to stop just in my code and the breakpoint was inside my library. The tests were in a file outside my library.
It would have been nice if VSCode interface showed me that it couldn't stop in the breakpoint. Maybe displaying a notification when I tried to create it. Maybe displaying as disabled.
It also would be nice if it told me that I should have set "justMyCode": Falsein the launch.json
The text was updated successfully, but these errors were encountered:
The notification and visibility on that should be done by VSCode itself (debugpy does what it should given the protocol: specify that the breakpoint is disabled with a message giving the details... I haven't checked it now, but from what I remember the breakpoint should appear disabled in this case and when you hover over it, it shows the related message).
@karthiknadig@int19h what do you think? Should debugpy do anything differently here?
It seems it shows the breakpoint disabled in the editor but not in the breakpoint panel:
Anyways, I'm closing the issue here as this is really up to VSCode, not debugpy (so, if you feel this could be better, please create an issue in the VSCode repo).
I created an issue because VSCode wouldn't stop in a breakpoint. The problem was that it was configured to stop just in my code and the breakpoint was inside my library. The tests were in a file outside my library.
It would have been nice if VSCode interface showed me that it couldn't stop in the breakpoint. Maybe displaying a notification when I tried to create it. Maybe displaying as disabled.
It also would be nice if it told me that I should have set
"justMyCode": False
in the launch.jsonThe text was updated successfully, but these errors were encountered: