Skip to content

Commit

Permalink
Add launch.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar committed Apr 27, 2022
1 parent 2d2ad9c commit 8339293
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
{
"version": "0.2.0",
"version": "0.3.0",
"configurations": [
{
"command": "yarn redwood dev",
"name": "launch development",
"command": "yarn redwood dev --apiDebugPort 18911",
"name": "Run Dev Server",
"request": "launch",
"type": "node-terminal"
},
{
"name": "Attach API debugger",
"port": 18911, // you can change this port, see https://redwoodjs.com/docs/project-configuration-dev-test-build#debugger-configuration
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"protocol": "inspector",
"stopOnEntry": false,
"localRoot": "${workspaceFolder}/node_modules/@redwoodjs/api-server/dist",
"remoteRoot": "${workspaceFolder}/node_modules/@redwoodjs/api-server/dist",
"sourceMaps": true,
"restart": true
}
]
}

0 comments on commit 8339293

Please sign in to comment.