- Created package.json for managing workspaces (frontend and backend) - Added scripts for development, build, testing, and Docker operations - Implemented kill-dev-processes.sh script to terminate development processes gracefully
73 lines
1.8 KiB
JSON
73 lines
1.8 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "🚀 Debug Backend",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "npx",
|
|
"runtimeArgs": [
|
|
"ts-node-dev",
|
|
"--respawn",
|
|
"--transpile-only",
|
|
"--no-notify"
|
|
],
|
|
"args": ["src/index.ts"],
|
|
"cwd": "${workspaceFolder}/backend",
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"sourceMaps": true,
|
|
"restart": true,
|
|
"outputCapture": "std",
|
|
"presentation": {
|
|
"group": "fullstack",
|
|
"panel": "new"
|
|
},
|
|
"postDebugTask": "🛑 Terminate All Development Processes"
|
|
},
|
|
{
|
|
"name": "🌐 Debug Frontend (Chrome)",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:3000",
|
|
"webRoot": "${workspaceFolder}/frontend/src",
|
|
"skipFiles": ["<node_internals>/**"]
|
|
},
|
|
{
|
|
"name": "🔧 Debug Frontend (Edge)",
|
|
"type": "msedge",
|
|
"request": "launch",
|
|
"url": "http://localhost:3000",
|
|
"webRoot": "${workspaceFolder}/frontend/src",
|
|
"skipFiles": ["<node_internals>/**"]
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "🚀🌐 Debug Full Stack (Chrome)",
|
|
"preLaunchTask": "🌐 Frontend",
|
|
"configurations": ["🚀 Debug Backend", "🌐 Debug Frontend (Chrome)"],
|
|
"stopAll": true,
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "fullstack",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"name": "🚀🔧 Debug Full Stack (Edge)",
|
|
"preLaunchTask": "🌐 Frontend",
|
|
"configurations": ["🚀 Debug Backend", "🔧 Debug Frontend (Edge)"],
|
|
"stopAll": true,
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "fullstack",
|
|
"order": 2
|
|
}
|
|
}
|
|
]
|
|
}
|