Update launch.json and tasks.json to use multi-root workspace folder syntax for correct path resolution. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
41 lines
1.5 KiB
JSON
41 lines
1.5 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"envFile": "${workspaceFolder:🌐 web-app}/.env",
|
|
"env": {
|
|
"USE_MOCK_AUTH": "true",
|
|
"MOCK_USER_ID": "109754742613069927799",
|
|
"MOCK_USER_NAME": "Nikola Derežić"
|
|
},
|
|
"runtimeArgs": [
|
|
"run", // this is `run` from `npm run`
|
|
"dev" // this is `dev` from `npm run dev`
|
|
],
|
|
"runtimeExecutable": "npm",
|
|
"cwd": "${workspaceFolder:🌐 web-app}/",
|
|
"localRoot": "${workspaceFolder:🌐 web-app}/",
|
|
"remoteRoot": "/app/",
|
|
"skipFiles": [
|
|
"<node_internals>/**",
|
|
"./server/<node_internals>/**",
|
|
"./script/**"
|
|
],
|
|
"preLaunchTask": "start-mongo",
|
|
"postDebugTask": "terminate-mongo",
|
|
// "restart": true,
|
|
"outputCapture": "std", // this will capture the output of the process and show it in the debug console
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "Debug",
|
|
"order": 0
|
|
}
|
|
}
|
|
]
|
|
} |