Fix VS debug mode not working