You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
debugger in WSL2 is not working, but work fine in windows #1661
Describe the bug
using js debugger work fine in window, but in wsl2 project the reference named '/mnt/c/...' seems disconnected with 'localhost:xx'.
The src dir below them is also dispear and any breakpoint is not working.
Note: Using the "preview" debug extension
Verbose logs are written to:
/home/even/.vscode-server/data/logs/20230417T085311/exthost1/ms-vscode.js-debug-nightly/vscode-debugadapter-b3bcae0c.json.gz
[vite] connecting...
client.ts:19
[vite] connected.
Please share that file by dragging and dropping it into the comment box on Github. The website you linked is just a local viewer and doesn't share anything with us.
first make a breakpoint , and then launch debugger and npm run pro, it will cause every steps stop, even though i just only make one breakpoint. this situation log is: vscode-debugadapter-ee5c9865.json.gz.
if i launch debugger and npm run pro first, then make a breakpoint, there is nothing happen. Any breakpoint is not working in vscode, whenever i make breakpoints from vscode or the chrome debug mode sources(F12). This situation log is: vscode-debugadapter-b3bcae0c.json.gz
Activity
connor4312 commentedon Apr 17, 2023
Please collect logs using the the instructions in the issue template.
eveforest commentedon Apr 17, 2023
hi , Connor Peet (@connor4312) , the log in debugger console like below:
and i had upload the vscode-debugadapter-b3bcae0c.json.gz to https://microsoft.github.io/vscode-pwa-analyzer/index.html
is these help?
connor4312 commentedon Apr 17, 2023
Please share that file by dragging and dropping it into the comment box on Github. The website you linked is just a local viewer and doesn't share anything with us.
eveforest commentedon Apr 17, 2023
hi Connor Peet (@connor4312) , here is log file
vscode-debugadapter-b3bcae0c.json.gz
connor4312 commentedon Apr 17, 2023
It doesn't look like you had any breakpoints set in that session. Can you try setting some so I can see where the issue is?
eveforest commentedon Apr 17, 2023
Connor Peet (@connor4312) when i launch debugger and set some breakpoints before i run command with 'pnpm run dev', it stop on every step, seems all step get breakpoints.
vscode-debugadapter-ee5c9865.json.gz
connor4312 commentedon Apr 17, 2023
You mentioned
Is this no longer the case? I'm not clear on what the issue is.
eveforest commentedon Apr 18, 2023
hi Connor Peet (@connor4312), thx for your patience, the more detail situation is:
vscode-debugadapter-ee5c9865.json.gz.
vscode-debugadapter-b3bcae0c.json.gz
fix: vite sources on posix not setting breakpoints correctly
fix: vite sources on posix not setting breakpoints correctly (#1669)