How can I debug AppBase.onActive() and AppBase.onInactive() from the simulator?

Is there a way to trigger AppBase.onActive() and AppBase.onInactive() from the simulator?