Skip to content

Instantly share code, notes, and snippets.

@k-maru
Last active August 10, 2019 07:05
Show Gist options
  • Save k-maru/d52dfc53176976a706f83d84e976e514 to your computer and use it in GitHub Desktop.
Save k-maru/d52dfc53176976a706f83d84e976e514 to your computer and use it in GitHub Desktop.
Nuxt and Spring Launch.json
{
"configurations": [
{
"type": "java",
"name": "Backend",
"request": "launch",
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"mainClass": "/set.your.java.main.class/",
"projectName": "backend",
"args": "",
"vmArgs": "-Dspring.profiles.active=dev"
},
{
"type": "node",
"request": "launch",
"name": "Frontend",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",
"debug"
],
"port": 9229,
"sourceMaps": true
},
{
"type": "chrome",
"request": "launch",
"name": "Chrome",
"url": "http://localhost:3000/",
"webRoot": "${workspaceFolder}",
"runtimeArgs": [
"--remote-debugging-port=9222"
]
}
],
"compounds": [
{
"name": "ALL",
"configurations": [
"Backend",
"Frontend",
"Chrome"
]
}
]
}
{
"scripts": {
"debug": "node --inspect-brk=9229 node_modules/nuxt/bin/nuxt --config-file nuxt.dev.js"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment