1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00

[3.x] [Debugger] Add --debug-server CLI option.

Automatically starts the editor debug server at given <IP>:<PORT>.

E.g.:
 # Run editor and debug server listening on any interface, port 8080
godot3 -e --path proj/proj_empty --debug-server *:8080

 # Run the godot project connecting to that debug server.
godot3 --path proj/proj_empty --remote-debug 127.0.0.1:8080
This commit is contained in:
Fabio Alessandrelli
2022-05-06 13:53:20 +02:00
parent db48b80707
commit 225e75daba
3 changed files with 35 additions and 6 deletions

View File

@@ -244,7 +244,7 @@ protected:
static void _bind_methods();
public:
void start();
void start(int p_port = -1, const IP_Address &p_bind_address = IP_Address("*"));
void pause();
void unpause();
void stop();