Skip to content

Commit

Permalink
Merge pull request #172 from ixartz/update-debugger-config
Browse files Browse the repository at this point in the history
chore: simplify vscode debugger configuration
  • Loading branch information
ixartz authored Oct 10, 2023
2 parents c12523b + 889a60d commit 6114167
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,15 @@
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"name": "Next.js: debug full stack",
"type": "node-terminal",
"request": "launch",
"name": "Next: Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
},
{
"type": "node",
"request": "launch",
"name": "Next: Node",
"program": "${workspaceFolder}/node_modules/.bin/next",
"args": ["dev"],
"autoAttachChildProcesses": true,
"skipFiles": ["<node_internals>/**"],
"console": "integratedTerminal"
}
],
"compounds": [
{
"name": "Next: Full",
"configurations": ["Next: Node", "Next: Chrome"]
"command": "npm run dev",
"serverReadyAction": {
"pattern": "- Local:.+(https?://.+)",
"uriFormat": "%s",
"action": "debugWithChrome"
}
}
]
}

0 comments on commit 6114167

Please sign in to comment.