vscode-edge-devtools icon indicating copy to clipboard operation
vscode-edge-devtools copied to clipboard

Error while opening file in editor: No workspace mapping was found

Open mahdi-farnia opened this issue 4 years ago • 3 comments

Version: 1.4.2

OS: MacOS Monterey Version 12.0.1

Stack : Could not open document. No workspace mapping was found for 'http://localhost:3030/styles/index.css'.

Additional context: I have two servers that running at the same time:

  • localhost:3030 which is for static files
  • localhost:3000 which is the main server that serves site

When i launching edge on localhost:3000 and after editing css ( with CSS Mirroring On ) these errors pop up:

An error occurred: Error while opening file in editor. Could not open document. No workspace mapping was found for 'http://localhost:3030/styles/index.css'.
Unable to open file in editor. http://localhost:3030/styles/index.css does not map to a local file.

I trying to serve static files on the same server localhost:3000 but that didn't work again.

I googled and i didn't found anything :(

This is my launch.json file:

{
  "configurations": [
    {
      "name": "Launch Edge",
      "request": "launch",
      "type": "vscode-edge-devtools.debug",
      "url": "http://localhost:3000",
      "webRoot": "${workspaceFolder}/public/"
    }
  ]
}

Thanks for helping 🙏

mahdi-farnia avatar Dec 09 '21 09:12 mahdi-farnia

@mliao95 since this issue seems to be the one we dupe others to, it would be good to track it on the internal backlog. I noticed the tracked label isn't present here. Do you want to add it?

captainbrosset avatar Feb 01 '22 10:02 captainbrosset

hola, tengo un problema es que no me funciona LIVE SERVER necesito ayuda

jbira-07 avatar Aug 26 '22 12:08 jbira-07

is this solved?

filasik avatar Oct 30 '22 10:10 filasik