Update and rename debug to debug.txt