Forgot to redirect the output for a debug statement