Skip to content

Commit

Permalink
feat(cli): add vscode launch configuration for dev.debug (QwikDev#4318
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mhevery authored May 24, 2023
1 parent 0e8550a commit 66c9c07
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"version": "0.2.0",
"configurations": [
{
"name": "Attach",
"port": 9229,
"request": "attach",
"type": "node",
"name": "packages/docs dev.debug",
"request": "launch",
"skipFiles": ["<node_internals>/**"],
"type": "node"
"cwd": "${workspaceFolder}/packages/docs",
"program": "${workspaceFolder}/packages/docs/node_modules/vite/bin/vite.js",
"args": ["--mode", "ssr", "--force"],
},
{
"type": "node",
Expand Down
17 changes: 17 additions & 0 deletions starters/apps/base/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// 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",
"name": "dev.debug",
"request": "launch",
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/node_modules/vite/bin/vite.js",
"args": ["--mode", "ssr", "--force"],
},
]
}

0 comments on commit 66c9c07

Please sign in to comment.