infi-pc / locatorjs

https://www.locatorjs.com
1.43k stars 68 forks source link

bug: Not working in WSL 2 #150

Open shamimbinzahid-repliq opened 8 months ago

shamimbinzahid-repliq commented 8 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 7 months ago

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