Script Debugger now saves text-based AppleScript files with CR line endings. The opened file was saved with LF line endings. I think this just changed, when I updated to version 7.0.11.
Additional info: my Editor preferences says
Unix (LF) as New Line Character. I did open an 'scpt` file from some other user. Maybe that triggered this?
Save as, and choose LF + Replace still saves the file with CR. As work around I can use Textmate to convert to LF endings before I check in to git, but that’s not ideal.
I’m on macOS Mojave 10.14.6 (18G4032). And I just added Script Debugger to Full Scripting Access, because it asked me to.
Update: can I download the previous version of Script Debugger, because this is a real hassle…