Add static debug boolean to controller.