Skip to content

Instantly share code, notes, and snippets.

@jasonwilliams
Last active November 20, 2019 17:13
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 jasonwilliams/417920a7bb231e853c6e0521621c4e3d to your computer and use it in GitHub Desktop.
Save jasonwilliams/417920a7bb231e853c6e0521621c4e3d to your computer and use it in GitHub Desktop.
Launch.json for next.js and firefox debugging
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "firefox",
"request": "launch",
"reAttach": true,
"name": "Firefox - NextJS",
"url": "http://127.0.0.1:3000",
"webRoot": "${workspaceFolder}/examples/blog-starter",
"pathMappings": [
{
"url": "http://127.0.0.1:3000/_next/",
"path": "${webRoot}/.next/"
}
],
"log": {
"fileName": "${workspaceFolder}/log.txt",
"fileLevel": {
"default": "Debug"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment