With WSL2 I got rid of VM's for local development.
Cross OS filesystem performance is poor. The solution is to keep everything within WSL. Code stored, built & edited in WSL.
VSCode + WSL extension makes it possible to "edit" from host without loosing performance.