golang Launch GO debug without selecting main.go in VSCode When your building your go application in VSCode it is easy to debug but you will have to select & open the main.go file and then press play to go into debugging