Allow debug to have access to stdout/err contents