refactor debugger executable path

This commit is contained in:
Matt Parker
2025-11-08 18:32:28 +10:00
parent 6f6fbcd26f
commit fe158f2cf9
5 changed files with 14 additions and 7 deletions

View File

@@ -10,6 +10,7 @@ public class AppState
public class IdeSettings
{
public bool AutoOpenLastSolution { get; set; }
public string? DebuggerExecutablePath { get; set; }
}
public record RecentSln

View File

@@ -62,6 +62,6 @@ public partial class RunMenuItem : HBoxContainer
private async void OnDebugButtonPressed()
{
GodotGlobalEvents.Instance.BottomPanelTabExternallySelected.InvokeParallelFireAndForget(BottomPanelType.Debug);
await _runService.RunProject(Project, true).ConfigureAwait(false);
await _runService.RunProject(Project, true, Singletons.AppState.IdeSettings.DebuggerExecutablePath).ConfigureAwait(false);
}
}