robertaachenw / solidity-debugger

38 stars 6 forks source link

Not working on Win11 wsl2 #5

Open yaeljiao opened 1 year ago

yaeljiao commented 1 year ago

All functions are not working in wsl2. E.g. New target. Open Existing Target. etc

Env: Win11 wsl2 ubuntu 22.04.1 Tried reintall this extension, but still not working

robertaachenw commented 1 year ago

Are you running VSCode inside the WSL Ubuntu or are you using VSCode's remote WSL extension?

yaeljiao commented 1 year ago

remote WSL extension

robertaachenw commented 1 year ago

I see. since VSCode is running on your windows, and not on your linux, it attempts to use the Windows-based binary for debugging. I don't have an immediate solution for this (I believe I would need to write specific integration with WSL)

If you run VSCode inside the WSL I believe it should work.