Skip to content

Instantly share code, notes, and snippets.

@ivanfgm
Created February 10, 2021 02:56
Show Gist options
  • Save ivanfgm/a2ea516051706d4ef94426c3276edecc to your computer and use it in GitHub Desktop.
Save ivanfgm/a2ea516051706d4ef94426c3276edecc to your computer and use it in GitHub Desktop.
VSCode's launch.json for Next.js, tested on: 1.54.0-insider
{
"version": "0.2.0",
"configurations": [
{
"type": "pwa-node",
"request": "launch",
"name": "Start",
"runtimeExecutable": "${workspaceFolder}/node_modules/next/dist/bin/next",
"env": {
"NODE_OPTIONS": "--inspect"
},
"console": "integratedTerminal",
"sourceMaps": true,
"resolveSourceMapLocations": [
"${workspaceFolder}/**",
"!**/node_modules/**"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment