vscode-firefox-debug icon indicating copy to clipboard operation
vscode-firefox-debug copied to clipboard

Debug Console points to files with \ instead of /

Open rnenjoy opened this issue 5 months ago • 1 comments

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_internals>/**",
				"**/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?

rnenjoy avatar May 30 '25 11:05 rnenjoy

Image Image

rnenjoy avatar May 31 '25 10:05 rnenjoy