Debugging cross compiled Linux builds in WSL

Has anyone been able to debug cross compiled linux builds in WSL?
I can run my cross compiled packaged binary in WSL but I would like to be able to debug from Visual Studio or VS Code. If that hasnt/cant be done, has anyone been able to build in WSL?

I want to know too, how to debug the binaries under WSL ubuntu?
I cross compiled project to distribute it in ubuntu, i use 4.26