Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MarioRinaldi/a11a55e38aec057b8ecd7f3fcca76c69 to your computer and use it in GitHub Desktop.
Save MarioRinaldi/a11a55e38aec057b8ecd7f3fcca76c69 to your computer and use it in GitHub Desktop.
{
// 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": [
{
"type": "node",
"request": "launch",
"name": "Node: Launch index.js",
"program": "${workspaceFolder}/index.js",
"env": {
"NODE_ENV": "development"
}
},
{
"type": "node",
"request": "attach",
"name": "Node: Attach to nodemon",
"processId": "${command:PickProcess}",
"restart": true,
"protocol": "inspector",
},
{
"name": "Node: NPM run start-debug (Wrapper)",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script", "start-debug"
],
"restart": true,
"port": 9229
},
{
"name": "Node: NPM run start-dev (Frontend)",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script", "start-dev"
],
"restart": true,
"port": 9229
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment