From 5dc5aea2784b1d7f567544b265b38b9536c71575 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 8 Feb 2023 11:47:35 +0100 Subject: [PATCH] Re-enable remote debugging in the android editor build. --- editor/editor_run.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/editor/editor_run.cpp b/editor/editor_run.cpp index 1875ca08a..d1d0c09d4 100644 --- a/editor/editor_run.cpp +++ b/editor/editor_run.cpp @@ -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");