You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Remove "debug/remote_port" project setting (moved to editor)
Also updated default port from 6007 (X11) to 6096 (unspec)
This commit is contained in:
@@ -562,7 +562,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
if (debug_mode == "remote") {
|
||||
|
||||
ScriptDebuggerRemote *sdr = memnew(ScriptDebuggerRemote);
|
||||
uint16_t debug_port = GLOBAL_DEF("debug/remote_port", 6007);
|
||||
uint16_t debug_port = 6096;
|
||||
if (debug_host.find(":") != -1) {
|
||||
int sep_pos = debug_host.find_last(":");
|
||||
debug_port = debug_host.substr(sep_pos + 1, debug_host.length()).to_int();
|
||||
|
||||
Reference in New Issue
Block a user