Skip to content

Commit

Permalink
Better debug configuration for vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
simonguest committed Feb 4, 2024
1 parent 0877a99 commit ecd4275
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch via NPM",
"request": "launch",
"runtimeArgs": [
"run-script",
"server"
],
"runtimeExecutable": "npm",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
{
"type": "chrome",
"request": "launch",
Expand All @@ -14,5 +27,11 @@
"/__parcel_source_root/*": "${webRoot}/*"
}
}
],
"compounds": [
{
"name": "Launch Server/Client",
"configurations": ["Launch via NPM", "Launch Chrome against localhost:55000"]
}
]
}

0 comments on commit ecd4275

Please sign in to comment.