Adjust to fact that stdout/stderr stream in :debug mode