feature:Add the debug setting on vscode (#606)
This commit is contained in:
parent
4a04ac71a0
commit
b771cf2b09
|
|
@ -86,6 +86,20 @@
|
|||
"PYTHONPATH": "${workspaceFolder}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Debug: python server",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/server.py",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": false,
|
||||
"env": {
|
||||
"PYTHONPATH": "${workspaceFolder}"
|
||||
},
|
||||
"args": [
|
||||
"--reload"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Debug: nodejs web",
|
||||
"type": "node",
|
||||
|
|
@ -101,7 +115,7 @@
|
|||
"compounds": [
|
||||
{
|
||||
"name": "Launch Deerflow",
|
||||
"configurations": ["Debug: server", "Debug: web"]
|
||||
"configurations": ["Debug: python server", "Debug: nodejs web"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue