Debugging Your ApplicationΒΆ

When writing your application you will want to turn on debugging mode.

import rumps
rumps.debug_mode(True)

If you are running your program from the interpreter, you should see the informational messages.

python {your app name}.py

If testing the .app generated using py2app, to be able to see these messages you must not,

open {your app name}.app

but instead run the executable. While within the directory containing the .app,

./{your app name}.app/Contents/MacOS/{your app name}

And, by default, your .app will be in dist folder after running python setup.py py2app. So of course that would then be,

./dist/{your app name}.app/Contents/MacOS/{your app name}