X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=4f200ec8e7924ad1ca3b3870a11d366175fbec76;hb=db0fc072c4f0b42370e213dcc82f75ab3a4fbed8;hp=e8114e91ee9ddd1d6edd267ae445b675318045c0;hpb=e7aeea18e189dd087c8f951cf77a253e2818ae90;p=e-mobility-charging-stations-simulator.git diff --git a/.vscode/launch.json b/.vscode/launch.json index e8114e91..4f200ec8 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,25 +5,25 @@ "version": "0.2.0", "configurations": [ { - "type": "pwa-node", + "type": "node", "request": "launch", - "name": "Debug Simulator via npm", + "name": "Debug Simulator Development Build via pnpm", "cwd": "${workspaceFolder}", - "preLaunchTask": "Build", - "runtimeExecutable": "npm", - "runtimeArgs": ["run-script", "start:debug"], + "runtimeExecutable": "pnpm", + "runtimeArgs": ["run", "start:dev:debug"], "skipFiles": ["/**"], "stopOnEntry": true }, { - "type": "pwa-node", - "request": "launch", - "name": "Debug Simulator Development Build via npm", - "cwd": "${workspaceFolder}", - "runtimeExecutable": "npm", - "runtimeArgs": ["run-script", "start:dev:debug"], - "skipFiles": ["/**"], - "stopOnEntry": true + "name": "Debug Simulator Unit Tests", + "type": "node", + "request": "attach", + "port": 9229, + "continueOnAttach": true, + "autoAttachChildProcesses": false, + "timeout": 30000, + "resolveSourceMapLocations": ["!**/node_modules/**"], + "skipFiles": ["/**"] } ] }