-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DAP] Add --dap-port
as a command line argument
#92336
Conversation
@akien-mga what do you think? Also I have a question out of scope of this PR. |
430cb0c
to
d669553
Compare
--dap-port
as a command line argument
Thanks! |
This is very similar to --lsp-port, which was added in #81844
I have started a conversation in https://chat.godotengine.org/channel/devel?msg=qEJuhGNKqXKsxmjZr, however haven't got responses so far.
The PR solves a case, when 2 GodotEditors are opened with projects and external editor tries to use one of the editors for debugging via DAP via Godot Editor (DebugAdapterServer, default port 6006).
In Rider already can start GodotEditor with LSP server in a headless mode, and this PR would help to use such GodotEditor also for debugging. Other external editors, which use DAP may also benefit from the PR.