Así que quiero lanzar mi código JavaScript de VS-Code a Firefox, pero no sé cómo configurar el archivo launch.json.
Terminal: vista de terminal cuando ejecuto: npm run dev
Opción de URL de depuración: cuando paso el mouse sobre "local: http://localhost:3000/"
Error: mensaje de error que aparece cuando intento "URL de depuración"
lanzamiento.json:
{ // 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": "attach", "name": "Attach" }, { "type": "firefox", "request": "launch", "reAttach": true, "name": "Launch Firefox against localhost", "url": "http://localhost:3000", "webRoot": "${workspaceFolder}", "program": "C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe" }, { "type": "firefox", "request": "launch", "reAttach": true, "reloadOnAttach": true, "name": "Launch index.html", "file": "${workspaceFolder}/index.html" }, { "type": "pwa-node", "request": "launch", "name": "Launch Program", "skipFiles": [ "<node_internals>/**" ], "program": "${workspaceFolder}\\Project 3 Three.js\\main.js" } ] }