Last active
November 20, 2019 17:13
-
-
Save jasonwilliams/417920a7bb231e853c6e0521621c4e3d to your computer and use it in GitHub Desktop.
Launch.json for next.js and firefox debugging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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