Skip to content

Commit

Permalink
adding debug configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dsp1589 committed Apr 23, 2020
1 parent 4f78286 commit 7c5f3f2
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.vscode
.vscode/*
!.vscode/launch.json
node_modules
public/index.html
dist/*
Expand Down
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
// 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": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/src/index.js"
},
{
"type": "node",
"request": "attach",
"name": "Attach by Process ID",
"skipFiles": [
"<node_internals>/**"
],
"processId": "${command:PickProcess}"
}
]
}

0 comments on commit 7c5f3f2

Please sign in to comment.