Skip to content

Instantly share code, notes, and snippets.

@icodejs
Last active May 19, 2021 14:02
Show Gist options
  • Save icodejs/02583c085b97fb7a90331d26aefd2bb5 to your computer and use it in GitHub Desktop.
Save icodejs/02583c085b97fb7a90331d26aefd2bb5 to your computer and use it in GitHub Desktop.
{
"version": "0.2.0",
"configurations": [
{
"type": "pwa-node",
"name": "Attach to existing process",
"skipFiles": ["<node_internals>/**"],
"request": "attach",
"restart": true,
"port": 9229
},
{
"type": "pwa-node",
"request": "launch",
"name": "Launch Program",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/bin/www"
}
]
}
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"autoAttachChildProcesses": true,
"name": "9229",
"cwd": "${workspaceFolder}",
"port": 9229,
"protocol": "auto"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment