PY-21488 Stopping docker debug process unexpectedly in the very beginning of Python...
[idea/community.git] / python / pydevSrc / com / jetbrains / python / debugger / pydev / transport / ClientModeDebuggerTransport.java
index abf46f6fa11443f7a0bf4b841e154db6c14fad9e..c7816252d8376a5a4022259b099529c5e37097bf 100644 (file)
@@ -252,6 +252,14 @@ public class ClientModeDebuggerTransport extends BaseDebuggerTransport {
       start(getClass().getName());
     }
 
+    @Override
+    protected void onExit() {
+      if (myState == State.APPROVED) {
+        getDebugger().fireExitEvent();
+      }
+    }
+
+    @Override
     protected void onCommunicationError() {
       if (myState == State.APPROVED) {
         getDebugger().fireCommunicationError();