copy debug into place
call setPrefix instead of internal method, call load if not loaded, make sure urlPrefix terminates in slash