Auto debug. Sort of working.