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:
parent
573121ee08
commit
8261cde3c9
5 changed files with 38 additions and 14 deletions
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue