-
Notifications
You must be signed in to change notification settings - Fork 68
Auto-attach to sub process (auto-reload of Django, Flask) #425
Comments
@karthiknadig Please check whether this is required for VS |
Isn't this the same as #57? |
The important distinction is the number of process that the adapter itself is attached to. I think in this case there will be one process that the adapter is expected to attach to or launch, and continue to be connected, even after template reload results in a new sub-process. Although I am not sure how the template breakpoints will work in this case, we have to test this to see if there are any other limitations. |
I've created a separate issue for django, flask debugging due to an item added into the exit criteria of PTVSD. I do not want multi-process debugging not to get implemented simply because the VSC protocol doesn't support it. I.e. not being able to differentiate between the process ids when debugging (step in, step out, what process ids do threads belong to, etc). In the case of auto-reloading of django templates, we (VSC) don't care whether its mult-process or not. All we care about is breaking into the code and supporting breakpoints (i.e. standard debugging). I.e. process id doesn't matter. |
User feedback:
|
This is implemented in insider builds now. We have another more generic epic, #1706, open to track the overall multiproc work - this has the information on how to enable it. We'll use that one to track the release progress (i.e. it will be closed once we ship a stable version with the new bits). |
pydevd supports this today, all we need to do is just pass a flag.
The text was updated successfully, but these errors were encountered: