infi-pc / locatorjs

https://www.locatorjs.com
1.31k stars 60 forks source link

bug: Not working in WSL 2 #150

Open shamimbinzahid-repliq opened 5 months ago

shamimbinzahid-repliq commented 5 months ago

Where the bug happens

your browser

Chrome 122.0.6261.129 (64-bit) (cohort: Stable)

Describe the bug

image

When I run my NextJS app and alt clicked on an element, it says Path: "/home/username/... ... " does not exist.

Seems like it can't detect the Linux file system inside of Windows.

AFusco commented 5 months ago

This custom link setting worked for me: vscode://vscode-remote/wsl+Ubuntu${projectPath}${filePath}:${line}:${column}