forked from qt-creator/qt-creator
DAP: Add terminal output for installing debugpy
Change-Id: I2136b966b37f2a652053d6c30b16f05defaed756 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user