controller debugging