vscode-powershell icon indicating copy to clipboard operation
vscode-powershell copied to clipboard

Refactor the debug launch configuration resolvers

Open andyleejordan opened this issue 3 years ago • 0 comments

Some much needed TLC, especially now that VS Code with resolve its predefined variables used in configurations.

Do not set cwd for debug launch configurations

Instead, respect it if it exists, and otherwise consistently do not change it. Debugging will run in the session's current cwd, or if and only if the user set cwd on the launch config will it change.

Resolves #4082. My own testing seems to indicate this works well and as expected (consistently). However, I suspect we'll get some complaints when it rolls out.

andyleejordan avatar Sep 15 '22 01:09 andyleejordan