1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Allow multiple editor instances to use different ports

Previously if more than one Godot editor was running then the debugger of one editor would not work because both editors were trying to connect on the same port.
This commit attempts to fix this by allowing the debugger to change the port at runtime in such cases.
This commit is contained in:
Zak
2020-03-15 12:45:39 +02:00
parent 809dc1a12a
commit c3cfb87548
4 changed files with 40 additions and 11 deletions

View File

@@ -121,6 +121,7 @@ private:
int last_warning_count;
bool hide_on_stop;
int remote_port;
bool enable_external_editor;
bool skip_breakpoints_value = false;
@@ -275,6 +276,7 @@ public:
void set_hide_on_stop(bool p_hide);
bool get_debug_with_external_editor() const;
String get_connection_string() const;
void set_debug_with_external_editor(bool p_enabled);
Ref<Script> get_dump_stack_script() const;