From 9d185ccc30ad5fe7eb716390ca2e7f5c06574ce0 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 6 Aug 2015 02:37:40 -0300 Subject: -Merged the file server with the live editing and remote debug -It is now really easy to deploy an android build with debug, and debug it --- core/script_debugger_remote.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'core/script_debugger_remote.cpp') diff --git a/core/script_debugger_remote.cpp b/core/script_debugger_remote.cpp index ebed016b7..d42f87944 100644 --- a/core/script_debugger_remote.cpp +++ b/core/script_debugger_remote.cpp @@ -34,7 +34,11 @@ Error ScriptDebuggerRemote::connect_to_host(const String& p_host,uint16_t p_port) { - IP_Address ip = IP::get_singleton()->resolve_hostname(p_host); + IP_Address ip; + if (p_host.is_valid_ip_address()) + ip=p_host; + else + ip = IP::get_singleton()->resolve_hostname(p_host); int port = p_port; -- cgit v1.2.3-70-g09d2