add debug output related to app enablement
Merge pull request #5726 from owncloud/more_debug_output_stable5

add debug output related to app enablement