Added command line debug option for ai-sensor (untested)