You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
Improve debug focus behavior
Fix focusing debugged game on Windows
Add re-focusing editor on continue
(cherry picked from commit 66dac878ac)
This commit is contained in:
committed by
Rémi Verschelde
parent
56dc7aa568
commit
12d4d65668
@@ -52,6 +52,9 @@ Error EditorRun::run(const String& p_scene,const String p_custom_args,const List
|
||||
args.push_back("localhost:"+String::num(GLOBAL_DEF("debug/debug_port", 6007)));
|
||||
}
|
||||
|
||||
args.push_back("-epid");
|
||||
args.push_back(String::num(OS::get_singleton()->get_process_ID()));
|
||||
|
||||
if (p_custom_args!="") {
|
||||
|
||||
Vector<String> cargs=p_custom_args.split(" ",false);
|
||||
@@ -132,6 +135,7 @@ Error EditorRun::run(const String& p_scene,const String p_custom_args,const List
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (p_breakpoints.size()) {
|
||||
|
||||
args.push_back("-bp");
|
||||
|
||||
Reference in New Issue
Block a user