add debug info to view and show action to user