mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Don't enable remote debugging in the android editor for now. This fixes black screen when a project encounters a script error.
This commit is contained in:
parent
faf7b1573f
commit
0a31a3b594
@ -61,6 +61,7 @@ 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();
|
||||
@ -71,6 +72,8 @@ 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
|
||||
|
||||
args.push_back("--allow_focus_steal_pid");
|
||||
args.push_back(itos(OS::get_singleton()->get_process_id()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user