microsoft / vscode-dapr

A Visual Studio Code extension for Dapr development
Other
58 stars 18 forks source link

Attach to Python applications using "remote" attach #314

Open philliphoff opened 12 months ago

philliphoff commented 12 months ago

"Remote" attach appears to work (rather than attach by process ID attempted now), but requires the application be explicitly started with remote debugging enabled, and on explicit ports (that would need to be inferred from the run file). The extension should switch to this new method, perhaps scaffolding the run files to start in that mode (or to generate just-in-time run files which automate the mode).

Here is a note to a conversation on the Dapr Discord server re: Python debugging.

philliphoff commented 12 months ago

Likely impacts #301.