Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is my Visual Studio Code getting server error messages when trying to debug

Why am I getting an IIS error when I try to debug a JavaScript source file in Visual Studio Code? Here is my launch.json file

// 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": "chrome",
        "request": "launch",
        "name": "Launch Chrome against localhost",
        "url": "http://localhost:8080",
        "webRoot": "${workspaceFolder}"            
    },
    {
        "type": "firefox",
        "request": "launch",
        "name": "Launch firefox against localhost",
        "url": "http://localhost:8080",
        "webRoot": "${workspaceFolder}"
    }
]

And the error message from IIS is:

Could not read source map for chrome-error://chromewebdata/: Unexpected 503 response from chrome-error://chromewebdata/neterror.rollup.js.map: Unsupported protocol "chrome-error:"

like image 308
bigSloppy Avatar asked Oct 17 '25 20:10

bigSloppy


1 Answers

in the folder that contains your project file there will be a .vscode file, just delete it and you will be good to go.

like image 107
user23485893 Avatar answered Oct 19 '25 10:10

user23485893



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!