add debug to url controller