Debugging in VSCode
This guide only works for Visual Studio Code
1. Install a VSCode extension
2. Configure VSCode debugger
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "firefox",
"reAttach": true,
"name": "Launch Firefox against localhost",
"url": "http://localhost:3000/",
"webRoot": "${workspaceFolder}"
}
]
}{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000/",
"webRoot": "${workspaceFolder}"
}
]
}3. Launch the debugger
Troubleshooting
Last updated