godotengine / godot-csharp-vscode

Debugger and utilities for working with Godot C# projects in VSCode
https://marketplace.visualstudio.com/items?itemName=neikeq.godot-csharp-vscode
MIT License
145 stars 27 forks source link

Add debug configuration to launch a specified scene #24

Closed raulsntos closed 2 years ago

raulsntos commented 3 years ago

A new Launch debug configuration that shows a selector to the user to choose among any of the *.tscn files in the workspace to use as the entrypoint instead of using the project's main scene.

While this doesn't automatically select the currently opened scene in the Godot editor, it might be enough for some. When the user starts a debugging session they are presented with a list of all the scenes in the workspace to allow them to select any of them.

https://user-images.githubusercontent.com/3903059/128580099-65e5c300-f56d-4eb0-8a7d-9524b9dc56d5.mp4


This PR is a draft because it depends on #22

neikeq commented 2 years ago

There are conflicts that need to be fixed. The PR is marked as a draft, is it complete?. It seems to overlap with #22 in a few areas, so one will likely need to happen first. EDIT: Ah, never mind. I missed the note below the video.