Refer to Modding/Using Visual Studio Code#Debugging Setup for how to set up debugging with Visual Studio Code.