extracting the RouteDebug parser from the RouteDebugController so that it can be used in a test or console/diagnostic capacity