Added process kill & exceptions listeners to call debugger shutdown function.