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

PTVSD 5.* debugger Flags are not working #2001

Closed
RaymonGulati1 opened this issue Dec 18, 2019 · 2 comments
Closed

PTVSD 5.* debugger Flags are not working #2001

RaymonGulati1 opened this issue Dec 18, 2019 · 2 comments
Assignees

Comments

@RaymonGulati1
Copy link

RaymonGulati1 commented Dec 18, 2019

I'm setting the debugger flags in the launch json, but they are being ignored by the debugger. For instance, the show return value and break on system exit 0 are not working.

Launch JSON:
image

DebugAdapterLogs for PTVSD 5.*
DebugAdapterHost5.txt

DebugAdapterLogs for PTVSD 4.0 (for comparison)
DebugAdapterHost4.txt

@RaymonGulati1 RaymonGulati1 changed the title PTVSD 5.* debugger options are not working PTVSD 5.* debugger Flags are not working Dec 18, 2019
@int19h
Copy link
Contributor

int19h commented Dec 18, 2019

We didn't fully transition to new-style properties for all the debug options yet. We need to do so.

For some of the properties, the extension or the adapter automatically generate the corresponding option to pass to pydevd, but not all. However, it would be better for pydevd itself to handle these directly in one place.

The required behavior is straightforward: for every debug option named "Foo", we should have a corresponding Boolean property named "foo", with the same semantics. Eventually we'll retire the debug options, and keep the properties.

@fabioz
Copy link
Contributor

fabioz commented Dec 19, 2019

I'll take a look at it.

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

3 participants