Attempting to troubleshoot JavaScript code in Visual Studio Code is resulting in an error:
Could not read source map for chrome-error://chromewebdata/: Unexpected 503 response from chrome-error://chromewebdata/edge-elixir-neterror.rollup.js.map: Unsupported protocol "chrome-error:"
The launch.json file contains the following configurations:
{
// Utilize IntelliSense to explore potential attributes.
// Hover to see descriptions of existing attributes.
// For further details, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Edge",
"request": "launch",
"type": "msedge",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
},
]
}
After attempting to resolve the issue by deleting the .vscode folder and the launch.json file, subsequent attempts to add Microsoft Edge for debugging proved unsuccessful. Upon restarting, a message "Localhost refused to connect" appears, leading to confusion as to why a Chrome error is being encountered when trying to debug using Edge.
Software versions in use are: Visual Studio Code: 1.90.2 Edge: Version 126.0.2592.68