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

Debug Console points to files with \ instead of /

オープン
#387 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
447
フォーク
76
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

このレポートにはソースファイル、テスト、エントリポイントが記載されていません。まず、示されている Windows クライアント、SSH トンネル、Ubuntu パスを使用して VS Code Firefox デバッグ構成を再現してください。デバッグコンソールにリモートファイルの場所がスラッシュで表示されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript, vscode
領域
devtools, tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。