Running shell script on debug mode/normal mode

I am testing Hazel's "Running shell script" action.
When i enable the "Debug Mode", my script works successfully.
But when i restore to normal mode(disable the "Debug Mode"), the same script not work with error.
Is there some difference between "Debug Mode" and normal node?
Why the same script work differently?
I'd like to inspect the error, but i can't.
When i enable the debug mode, the error gone.
After i disable the debug mode, the error back again. sadly.
Any idea?
When i enable the "Debug Mode", my script works successfully.
But when i restore to normal mode(disable the "Debug Mode"), the same script not work with error.
Is there some difference between "Debug Mode" and normal node?
Why the same script work differently?
I'd like to inspect the error, but i can't.
When i enable the debug mode, the error gone.
After i disable the debug mode, the error back again. sadly.
Any idea?