--editor-pid argument

Hello,

When I launch a scene via the editor, its launched with an --editor-pid argument.

Do you know what it does?

It doesn’t seem redirect the output to the editor or enable pause/stop button.

It’s used by the editor to connect to the instance, to handle things like the editor stealing focus from the running instance when hitting an error or a breakpoint (see for example this method for Windows DisplayServer — Godot Engine (stable) documentation in English)

It’s mainly for internal use

Great, thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.