Debug C app using visual studio code and Vagrant runnig ubuntu
问题 I boot up ubuntu using Vagrant to compile some C code, now i like to debug this code using Visual Studio Code. How can i setup some kind of remote debug where the compiler and source code and all on the Ubuntu VM And I only using VSCode from windows? PS. This used to work very well with windows WSL linux . But now i like to achieve the same result with Ubuntu using Vagrant ( using Virtual Box ). Can it be done? UPDATE I tried as suggested but I'm getting error : my virtual box config from