Built in debug action.
Conditional action handling.