install the debug event listener if _show_backtrace is true