"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"
- ],
- "skipFiles": [
- "<node_internals>/**"
- ],
+ "runtimeExecutable": "pnpm",
+ "runtimeArgs": ["run", "start:dev:debug"],
+ "skipFiles": ["<node_internals>/**"],
"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": [
- "<node_internals>/**"
+ "name": "Debug Simulator Unit Tests",
+ "type": "node",
+ "request": "attach",
+ "port": 9229,
+ "continueOnAttach": true,
+ "autoAttachChildProcesses": false,
+ "timeout": 30000,
+ "resolveSourceMapLocations": [
+ "!**/node_modules/**",
+ "!**/.vscode/extensions/hbenl.vscode-mocha-test-adapter-*/**"
],
- "stopOnEntry": true
+ "skipFiles": ["<node_internals>/**"]
}
]
}