Outsource debug into dependencies folder