Recently, my Dropbox.app stopped launching correctly. If I double-click on the app or try to launch via spotlight, the app just silently dies within a second. I see it show up in Activity Monitor, but no messages are printed if I watch Console. There's no warning or error dialog.
If I use Terminal to issue something like:
then it runs correctly.
I suspect my launch environment got messed up (perhaps python?). But I have no idea how to debug this since Console is revealing nothing.
What are some steps to debug an app that silently dies?
Is there a systematic way to toggle all environment preferences that are causing open Dropbox.app to succeed from Terminal?