Handle team deletion debug event.

When the target team exits, notify the user and shut down the debugger.