Skip to content

Instantly share code, notes, and snippets.

@marr
Created March 5, 2023 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marr/24ef95f79f81bc67754a1da443578a0e to your computer and use it in GitHub Desktop.
Save marr/24ef95f79f81bc67754a1da443578a0e to your computer and use it in GitHub Desktop.
Fullstack Debugging nuxt@2 with VS Code
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "client: chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"userDataDir": false,
"urlFilter": "http://localhost:3000"
},
{
"type": "node",
"request": "launch",
"name": "server: nuxt",
"args": ["dev"],
"outputCapture": "std",
"osx": {
"program": "${workspaceFolder}/node_modules/.bin/nuxt"
},
"linux": {
"program": "${workspaceFolder}/node_modules/.bin/nuxt"
},
"windows": {
"program": "${workspaceFolder}/node_modules/nuxt/bin/nuxt.js"
}
}
],
"compounds": [
{
"name": "fullstack: nuxt",
"configurations": ["server: nuxt", "client: chrome"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment