firefox-devtools / firefox-devtools/vscode-firefox-debug

Debug Console points to files with \ instead of /

Open
#387 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
447
Forks
76
PR merge metrics
No merged PRs in 30d

Description

I have a problem that inside Vscode debug console i see errors that points to the correct file, but with wrong slash \ instead of /.

Local: Windows 11, Cursor, Firefox latest
SSH tunnel to: Ubuntu server

It points to:
\srv\http\dev-test-prisma\frontend\src\modules\vehicle\_forms\CrmEquipmentForm\CrmEquipmentForm.vue

Correct:
/srv/http/dev-test-prisma/frontend/src/modules/vehicle/_forms/CrmEquipmentForm/CrmEquipmentForm.vue

```
{
"configurations": [
{
"name": "Launch Firefox (inside backend)",
"type": "firefox",
"request": "launch",
"reAttach": true,
"url": "https://dev-net.test.se:3000",
"webRoot": "/srv/http/dev-test-prisma/frontend/src",
"firefoxExecutable": "C:\\Program Files\\Mozilla Firefox\\firefox.exe",
"profileDir": "C:\\Users\\test\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\test.default-release",
"clearConsoleOnReload": true,
"skipFiles": [
"/**",
"**/node_modules/**",
"**/@vue/**",
"**/runtime-core/**",
"**/runtime-dom/**",
"**/.pnpm/**"
],
"pathMappings": [
{
"url": "https://dev-net.test.se:3000/_nuxt/@fs/srv/http/dev-test-prisma/frontend/src/",
"path": "/srv/http/dev-test-prisma/frontend/src/"
},
{
"url": "https://dev-net.test.se:3000/_nuxt/@fs/srv/http/dev-test-prisma/frontend/node_modules/",
"path": "/srv/http/dev-test-prisma/frontend/node_modules/"
},
{
"url": "/@fs/srv/http/dev-test-prisma/frontend/src/",
"path": "/srv/http/dev-test-prisma/frontend/src/"
},
{
"url": "https://dev-net.test.se:3000/_nuxt/",
"path": "/srv/http/dev-test-prisma/frontend/src/"
}
]
}
]
}
```

Anyone know how to change this?

Contributor guide

Open the contributing guide

Research direction

The report names no source files, tests, or entry points. First reproduce the VS Code Firefox debug configuration using the Windows client, SSH tunnel, and Ubuntu paths shown; done means remote file locations are displayed with forward slashes in the debug console.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.