refactor debugger executable path
This commit is contained in:
@@ -10,6 +10,7 @@ public class AppState
|
||||
public class IdeSettings
|
||||
{
|
||||
public bool AutoOpenLastSolution { get; set; }
|
||||
public string? DebuggerExecutablePath { get; set; }
|
||||
}
|
||||
|
||||
public record RecentSln
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user