Re-enable remote debugging in the android editor build.

This commit is contained in:
Relintai 2023-02-08 11:47:35 +01:00
parent 21dfdd9455
commit 5dc5aea278

View File

@ -61,7 +61,6 @@ Error EditorRun::run(const String &p_scene, const String &p_custom_args, const L
args.push_back(resource_path.replace(" ", "%20"));
}
#ifndef ANDROID_ENABLED
args.push_back("--remote-debug");
const String conn_string = ScriptEditor::get_singleton()->get_debugger()->get_connection_string();
@ -72,7 +71,6 @@ Error EditorRun::run(const String &p_scene, const String &p_custom_args, const L
const int remote_port = (int)EditorSettings::get_singleton()->get("network/debug/remote_port");
args.push_back(remote_host + ":" + String::num(remote_port));
}
#endif
#ifdef ANDROID_ENABLED
const bool android_force_side_by_side_window = EditorSettings::get_singleton()->get("run/window_placement/android_force_launch_adjacent");