Skip to content

Instantly share code, notes, and snippets.

@ayoayco
Created April 7, 2017 05:54
Show Gist options
  • Save ayoayco/dddfac1363fc23b67a53bb7ced946e8d to your computer and use it in GitHub Desktop.
Save ayoayco/dddfac1363fc23b67a53bb7ced946e8d to your computer and use it in GitHub Desktop.
{
// 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
"version": "0.2.0",
"configurations": [{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceRoot}"
},
{
"type": "node",
"request": "launch",
"name": "Launch Server",
"program": "${workspaceRoot}\\webserver.js",
"args": [
"8080", "."
]
},
{
"type": "node",
"request": "attach",
"name": "Attach to Process",
"address": "localhost",
"port": 5858
}
],
"compounds": [{
"name": "Server / Chrome",
"configurations": ["Launch Server", "Launch Chrome"]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment