Add option to launch/wait for debugger on python contexts

This commit is contained in:
baldurk
2026-08-13 17:46:40 +01:00
parent 3dfd829331
commit 3ff393c91f
13 changed files with 315 additions and 12 deletions
@@ -308,6 +308,7 @@ SettingsDialog::SettingsDialog(ICaptureContext &ctx, QWidget *parent)
ui->EventBrowser_ColorEventRow->setChecked(m_Ctx.Config().EventBrowser_ColorEventRow);
ui->Python_DebugEnabled->setChecked(m_Ctx.Config().Python_DebugEnabled);
ui->Python_LaunchVSCode->setChecked(m_Ctx.Config().Python_LaunchVSCode);
ui->Python_DebugPyDir->setText(m_Ctx.Config().Python_DebugPyDir);
@@ -878,6 +879,13 @@ void SettingsDialog::on_Python_DebugEnabled_toggled(bool checked)
m_Ctx.Config().Save();
}
void SettingsDialog::on_Python_LaunchVSCode_toggled(bool checked)
{
m_Ctx.Config().Python_LaunchVSCode = ui->Python_LaunchVSCode->isChecked();
m_Ctx.Config().Save();
}
// texture viewer
void SettingsDialog::on_TextureViewer_PerTexSettings_toggled(bool checked)
{