PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

Support launch.vs.json

Open int19h opened this issue 1 year ago • 1 comments

Currently, there's no way for the users to configure debugpy beyond the UI in Tools -> Options -> Python and project properties. Most importantly, this UI doesn't cover #6610, but there are other miscellaneous debugpy features that are currently not accessible, and some diagnostic and debugging facilities that cannot be easily enabled.

This can be fixed by providing a way for the users to directly supply the raw JSON debug configuration, similar to launch.json in VSCode. Visual C++ has a similar feature in form of launch.vs.json, so we can adopt the same design for PTVS.

int19h avatar Mar 06 '23 19:03 int19h

It should be noted that VC++ seems to only support this file for Open Folder projects. For PTVS, it would be desirable to support it uniformly, so we need to figure out where it should be placed for regular solutions / projects. Probably under .vs?

int19h avatar Mar 06 '23 19:03 int19h