debug main route