summaryrefslogtreecommitdiffstats
path: root/editor/editor_run.cpp
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2022-07-21 21:41:02 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2022-07-21 21:47:05 +0200
commit033001375fcfd40edcf52264acc6e3d3c5c78f86 (patch)
tree9dedc5fbafd833a5ff64689fb6c051142dc3d6c2 /editor/editor_run.cpp
parente44a2f16805b09a9a858ba5e8ebec7e598feb4d8 (diff)
downloadredot-engine-033001375fcfd40edcf52264acc6e3d3c5c78f86.tar.gz
Fix editor re-focus on debugger break on Windows
Diffstat (limited to 'editor/editor_run.cpp')
-rw-r--r--editor/editor_run.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_run.cpp b/editor/editor_run.cpp
index ba49c6dc5f..6ce8625daa 100644
--- a/editor/editor_run.cpp
+++ b/editor/editor_run.cpp
@@ -55,7 +55,7 @@ Error EditorRun::run(const String &p_scene, const String &p_write_movie) {
args.push_back("--remote-debug");
args.push_back(EditorDebuggerNode::get_singleton()->get_server_uri());
- args.push_back("--allow_focus_steal_pid");
+ args.push_back("--editor-pid");
args.push_back(itos(OS::get_singleton()->get_process_id()));
bool debug_collisions = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_debug_collisons", false);