From 19672406b420b1f1f3a76f7d7b438468ea0ac427 Mon Sep 17 00:00:00 2001 From: Artem Sokolovskii Date: Thu, 7 Sep 2023 12:48:07 +0200 Subject: [PATCH] DAP: Add terminal output for installing debugpy Change-Id: I2136b966b37f2a652053d6c30b16f05defaed756 Reviewed-by: hjk Reviewed-by: --- src/plugins/debugger/dap/pydapengine.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/plugins/debugger/dap/pydapengine.cpp b/src/plugins/debugger/dap/pydapengine.cpp index b9c79017ef8..a160c074671 100644 --- a/src/plugins/debugger/dap/pydapengine.cpp +++ b/src/plugins/debugger/dap/pydapengine.cpp @@ -202,15 +202,7 @@ void installDebugpyPackage(const FilePath &pythonPath) CommandLine cmd{pythonPath, {"-m", "pip", "install", "debugpy"}}; Process process; process.setCommand(cmd); - - QObject::connect(&process, &Process::textOnStandardError, [](const QString &text) { - MessageManager::writeSilently("Python debugger: debugpy package installation failed" + text); - }); - - QObject::connect(&process, &Process::done, []() { - MessageManager::writeSilently("Python debugger: debugpy package installed."); - }); - + process.setTerminalMode(TerminalMode::Run); process.start(); process.waitForFinished(); }