firefox-devtools / firefox-devtools/vscode-firefox-debug
Paths shown in Firefox and VSCode are different
- Lingua principale
- TypeScript
- Stelle
- 447
- Fork
- 76
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello, here is a screenshot of the problem:

- Firefox displays the error location according to the source map
- VSCode displays the real error location
launch.json
I'm using parcel 2 beta 3.1
```jsonc
{
"version": "0.2.0",
"configurations": [
{
"type": "pwa-msedge",
"request": "launch",
"name": "Edge",
"url": "http://localhost:1234",
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"/__parcel_source_root/*": "${workspaceFolder}/*",
"../*": "${webRoot}/*"
}
},
{
"type": "firefox",
"request": "launch",
"name": "Firefox",
"url": "http://localhost:1234",
"webRoot": "${workspaceFolder}",
"reAttach": true,
"pathMappings": [
{
"path": "../*",
"url": "${webRoot}/*"
}
],
"clearConsoleOnReload": true,
"suggestPathMappingWizard": true
}
]
}
```
Is this behavior normal?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.