I use two kinds of hacks for something like this. It's not for push notifications, but it's similar, because I was testing starting the app from an URL, which doesn't give me console output either.
1) On-screen output: This is similar to what you are doing. Instead of alerts, I am just putting a plain text label on the screen so I can see the outputs there. Limiting, and new text replaces old text, I know. But at least it's something.
2) Pretend to trigger an event: For example, I created a button just for debugging purposes. When the button is pressed, I manually call the method that normally handles the setups while started from other apps. This way, at least I get to see some console outputs out of it.
Of course, both of these are sort of hacks.
|