agmission/Development/server/.vscode/launch.json

53 lines
1.7 KiB
JSON

{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
// "env": {
// "DEBUG": "email-templates node server.js"
// },
"version": "1.0.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "AGM DEBUG",
"runtimeVersion": "14.17.1",
"runtimeArgs": [
"--expose-gc",
"--max-old-space-size=2048",
"--nouse-idle-notification",
"--icu-data-dir=/home/trung/.nvm/versions/node/v14.17.2/lib/node_modules/full-icu",
"--trace-warnings"
],
"env": {
"DEBUG": "agm:*"
},
"program": "${workspaceFolder}/server.js",
"cwd": "${workspaceFolder}",
"envFile": "${workspaceFolder}/environment.env",
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"runtimeVersion": "14.17.1",
"runtimeArgs": [
"--expose-gc",
"--max-old-space-size=2048",
"--nouse-idle-notification"
],
"name": "Launch Program",
"program": "${file}",
"cwd": "${workspaceFolder}",
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"envFile": "${workspaceFolder}/environment.env",
"env": {
"DEBUG": "agm:*"
},
"console": "integratedTerminal"
}
]
}
//