intersystems-community / vscode-objectscript

InterSystems ObjectScript extension for Visual Studio Code
https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO
Other
106 stars 48 forks source link

Improvements to attach-type debugging #1417

Closed gjsjohnmurray closed 1 month ago

gjsjohnmurray commented 1 month ago

This PR implements some improvements to the type of debugging in which you attach to a running process on a server.

It adds an entry to "initialConfigurations" in package.json so users setting up debugging in a workspace or folder for the first time won't have to add an attach-type configuration manually.

It also makes attach-type debugging usable when no documents are open from the server. In this case, if the workspace is multi-root the user must select a folder before being offered the process picker.

In conjunction with the new "always pause the attached process" behaviour (#1415) this means it is no longer necessary to open a document from the target namespace before being able to attach and debug a running process.