migueldeicaza / SwiftGodot

New Godot bindings for Swift
https://migueldeicaza.github.io/SwiftGodotDocs/tutorials/swiftgodot-tutorials/
MIT License
985 stars 55 forks source link

doc: replace vscode debug method from `attach` to `launch` #492

Closed MrZak-dev closed 4 weeks ago

MrZak-dev commented 1 month ago

a launch debug task can be created in vscode, which runs the godot game directly wiht lldb debugger.

JosephHill commented 1 month ago

Thanks for figuring this out, and for contributing this! I think this is going to help people a lot, especially debugging on Windows.

That said, I don’t think we want to replace the documentation for attaching to a running game, as I think it is still a useful/common workflow for people to launch the game from Godot.


Do you think you could modify your patch so that it maintains the attach documentation, possibly as an additional (or optional) task to include after the launch task?

MrZak-dev commented 1 month ago


Do you think you could modify your patch so that it maintains the attach documentation, possibly as an additional (or optional) task to include after the launch task?

of course. done!!, and attach is indeed a very helpful method to debug individual scenes .