Skip to content

Instantly share code, notes, and snippets.

@PatrickJS
Last active November 3, 2023 04:40
Show Gist options
  • Select an option

  • Save PatrickJS/7f53cdce441932409ddbe24e8f7f9c26 to your computer and use it in GitHub Desktop.

Select an option

Save PatrickJS/7f53cdce441932409ddbe24e8f7f9c26 to your computer and use it in GitHub Desktop.
qwik fullstack debug. place a debugger then select "Qwik Debug" in the vscode debugger dropdown
{
"version": "0.2.0",
"configurations": [
{
"name": "qwik Chrome",
"type": "chrome",
"request": "launch",
"url": "http://localhost:5173",
"webRoot": "${workspaceFolder}",
"pathMapping": {
"/": "${webRoot}"
}
},
{
"name": "qwik SSR",
"type": "node",
"request": "launch",
"runtimeExecutable": "node",
"args": [
"--inspect",
"${workspaceFolder}/node_modules/.bin/vite",
"--host",
"--mode",
"ssr",
],
"skipFiles": [
"<node_internals>/**"
],
"outFiles": [
"${workspaceFolder}/server/**/*.js"
],
"console": "integratedTerminal"
}
],
"compounds": [
{
"name": "Qwik Debug",
"configurations": ["qwik Chrome", "qwik SSR"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment