Add stacktrace info when DEBUG mode is set