Create debug file in the user's home directory

Connected with #4