„.vscode/launch.json“ ändern
This commit is contained in:
23
.vscode/launch.json
vendored
23
.vscode/launch.json
vendored
@@ -4,7 +4,17 @@
|
|||||||
{
|
{
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Backend starten",
|
"name": "Debug Jest Tests",
|
||||||
|
"program": "${workspaceRoot}/backend/node_modules/jest/bin/jest",
|
||||||
|
"args": ["--runInBand"],
|
||||||
|
"cwd": "${workspaceRoot}/backend",
|
||||||
|
"console": "integratedTerminal",
|
||||||
|
"internalConsoleOptions": "neverOpen"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "node",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug Backend",
|
||||||
"skipFiles": [
|
"skipFiles": [
|
||||||
"<node_internals>/**",
|
"<node_internals>/**",
|
||||||
"node_modules/**"
|
"node_modules/**"
|
||||||
@@ -30,7 +40,7 @@
|
|||||||
],
|
],
|
||||||
"program": "${workspaceFolder}/backend/src/index.ts",
|
"program": "${workspaceFolder}/backend/src/index.ts",
|
||||||
"preLaunchTask": "Install Backend Dependencies"
|
"preLaunchTask": "Install Backend Dependencies"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Debug Frontend",
|
"name": "Debug Frontend",
|
||||||
"type": "chrome",
|
"type": "chrome",
|
||||||
@@ -43,6 +53,11 @@
|
|||||||
"skipFiles": ["node_modules/**"],
|
"skipFiles": ["node_modules/**"],
|
||||||
"runtimeExecutable": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
|
"runtimeExecutable": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"compounds": [
|
||||||
|
{
|
||||||
|
"name": "Debug Frontend and Backend",
|
||||||
|
"configurations": ["Debug Backend", "Debug Frontend"]
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user