Skip to content
Discussion options

You must be logged in to vote

My fix was to set pathMapping in launch.json

    {
      "name": "Edge",
      "request": "launch",
      "type": "msedge",
      "url": "https://localhost:3000",
      // Vite's root is src, so it serves node_modules as /@fs/<absolute path>, which is /@fs/C:/... on Windows
      "pathMapping": { "/@fs/": "/" },
      "windows": { "pathMapping": { "/@fs/": "" } },
      "webRoot": "${workspaceFolder}/src"
    },

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by parched
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
⌂ 换网址