Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions core/debugger/engine_debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,11 @@ void EngineDebugger::initialize(const String &p_uri, bool p_skip_breakpoints, bo
}
singleton = memnew(RemoteDebugger(Ref<RemoteDebuggerPeer>(peer)));
script_debugger = memnew(ScriptDebugger);
#ifndef WEB_ENABLED
// Notify editor of our pid (to allow focus stealing).
Array msg = { OS::get_singleton()->get_process_id() };
singleton->send_message("set_pid", msg);
#endif
}
if (!singleton) {
return;
Expand Down