Skip to content

Instantly share code, notes, and snippets.

@SynCap
Created July 15, 2020 11:23
Show Gist options
  • Save SynCap/9a7134b9f646c18ef8894189659e3bf2 to your computer and use it in GitHub Desktop.
Save SynCap/9a7134b9f646c18ef8894189659e3bf2 to your computer and use it in GitHub Desktop.
Debug Nuxt.JS app with VS Code
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "client: chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
},
{
"type": "node",
"request": "launch",
"name": "server: nuxt",
"args": ["dev"],
"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