-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
] | ||
} |