mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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:
parent
63a9b02131
commit
c3055b24d1
5 changed files with 9 additions and 7 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue