I'm trying to debug a Nuxt.JS app in VSCode, following instructions provided here the launch.json file is as follow:
{ "version": "0.2.0", "configurations": [
{
"type": "chrome",
"request": "launch",
"name": "client: chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"webpack:///*": "${workspaceRoot}/*"
}
},
{
"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"]
} ] }
But trying to set a breakpoint I receive the message: "breakpoint ignored because generated code not found (source map problem ?)"
I can't figure it out how to further modify the launch.json file or which option to add to nuxt.config.js.