Debugging AppleScript is easy when you work with the script editor,
log to print out anything in the console.
However, after you compiled it to an app, this cannot work anymore.
loggerto log to the syslog. E.g.,
However, I don’t know why sometimes this is not logged. So I will use the following:
- Echo to file