app: Improve debugging

Change-Id: Ieeaf9df83657c24545e31f8239fdef1e0ecf18f7
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>