Add debugging to file for windows