From af2b05d3afbb52fdcd18927b512a152f20bdc3e3 Mon Sep 17 00:00:00 2001 From: Elizaveta Shashkova Date: Wed, 28 Jun 2017 14:44:48 +0300 Subject: [PATCH] Improve logging for failed connection in Python debugger (it might help to investigate PY-16301) --- python/src/com/jetbrains/python/debugger/PyDebugProcess.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/src/com/jetbrains/python/debugger/PyDebugProcess.java b/python/src/com/jetbrains/python/debugger/PyDebugProcess.java index 3d10501f1781..6555ea8e62d7 100644 --- a/python/src/com/jetbrains/python/debugger/PyDebugProcess.java +++ b/python/src/com/jetbrains/python/debugger/PyDebugProcess.java @@ -313,10 +313,7 @@ public class PyDebugProcess extends XDebugProcess implements IPyDebugProcess, Pr if (myProcessHandler != null) { myProcessHandler.destroyProcess(); } - if (!myClosing) { - invokeLater( - () -> Messages.showErrorDialog("Unable to establish connection with debugger:\n" + e.getMessage(), getConnectionTitle())); - } + LOG.error(e); } } });