Don't copy the environment to update it

This causes problems on windows, and is wasteful anyway. The subprocess
will pick up the environment from its parent.
This commit is contained in:
Ben Jackson 2020-12-05 16:38:27 +00:00
commit 8261cde3c9
5 changed files with 38 additions and 14 deletions

View file

@ -1,8 +1,12 @@
{
"$schema": "https://puremourning.github.io/vimspector/schema/vimspector.schema.json",
"adapters": {
"test_custom": {
"command": "This is a test"
"run_with_debugpy": {
"command": [ "${workspaceRoot}/run_with_debugpy" ],
"port": 9876,
"env": {
"DEBUG_PORT": "9876"
}
}
},
"configurations": {
@ -44,6 +48,19 @@
}
}
},
"attach-run": {
"adapter": "run_with_debugpy",
"configuration": {
"request": "attach"
},
"breakpoints": {
"exception": {
"raised": "N",
"uncaught": "",
"userUnhandled": ""
}
}
},
"run": {
"adapter": "debugpy",
"configuration": {