Skip to content

Debug Console points to files with \ instead of / #387

@rnenjoy

Description

@rnenjoy

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions