Enabled debugging, and redirected debugging output to stdout