Files
freeplanet_serverside/.vscode/launch.json

97 lines
3.1 KiB
JSON
Raw Normal View History

2022-11-10 19:33:23 +01:00
{
"version": "0.2.0",
"configurations": [
2025-08-29 23:34:08 +02:00
2022-11-17 08:09:48 +01:00
{
"type": "node",
"request": "launch",
"name": "Launch via Nodemon",
"program": "${workspaceFolder}/node_modules/nodemon/bin/nodemon.js",
"restart": true,
2025-03-04 20:20:26 +01:00
"runtimeExecutable": "/usr/local/bin/node",
"runtimeArgs": [
"--inspect=9229" // Use "--inspect=0.0.0.0:9229" for remote debugging
],
2024-01-23 00:10:40 +01:00
"args": [
"${workspaceFolder}/src/server.js"
2024-01-23 00:10:40 +01:00
], // Replace with your entry file
"cwd": "${workspaceFolder}",
"autoAttachChildProcesses": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"sourceMaps": true,
"env": {
2024-01-23 00:10:40 +01:00
"NODE_ENV": "development",
"TESTING_ON": "1"
},
},
{
"type": "node",
"request": "launch",
"name": "Launch Trace Warning",
"program": "${workspaceFolder}/node_modules/nodemon/bin/nodemon.js",
"restart": true,
"runtimeExecutable": "/usr/local/bin/node",
"runtimeArgs": [
"--trace-warnings" // Use "--inspect=0.0.0.0:9229" for remote debugging
],
2024-01-23 00:10:40 +01:00
"args": [
"${workspaceFolder}/src/server.js"
2024-01-23 00:10:40 +01:00
], // Replace with your entry file
"cwd": "${workspaceFolder}",
"autoAttachChildProcesses": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"sourceMaps": true,
"env": {
2024-01-23 00:10:40 +01:00
"NODE_ENV": "development",
"TESTING_ON": "1"
},
2022-11-17 08:09:48 +01:00
},
2022-11-10 19:33:23 +01:00
{
2022-11-12 12:00:21 +01:00
"name": "ServerSide",
"program": "${workspaceFolder}/src/server.js",
2022-11-10 19:33:23 +01:00
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
2022-11-12 12:00:21 +01:00
"env": {
2024-01-23 00:10:40 +01:00
"NODE_ENV": "development",
"TESTING_ON": "1"
2022-11-12 12:00:21 +01:00
}
},
2025-08-29 23:34:08 +02:00
{
"type": "node",
"request": "launch",
"name": "Debug CheckSmartBot",
"program": "${workspaceFolder}/../checksmartbot/bot.js",
"console": "integratedTerminal",
"outFiles": [
"${workspaceFolder}/../**/*.js"
],
"envFile": "${workspaceFolder}/.env",
"skipFiles": [
"<node_internals>/**"
],
"autoAttachChildProcesses": true,
"smartStep": true
},
{
"type": "node",
"request": "launch",
"name": "Avvia bot con pm2 (attach)",
"runtimeExecutable": "pm2",
"runtimeArgs": [
"start",
"bot.js",
"--name",
"checksmartbot"
],
"console": "integratedTerminal",
"restart": true,
"port": 9229,
"attach": true
}
2022-11-10 19:33:23 +01:00
]
}