debug.exe did not like non-DOS EOL, which caused some problems when copying texts.
If I remembered correctly, debug was only capable of writing 64kB (mono-segment) data? Though one can always create an in-RAM program inside debug to output larger files.