Enable Deploy with Remote Debug by default in the editor

This makes one-click deploy make use of remote debugging, so that
you can see output from the remote device, run the debugger and use
the monitor and performance/network profilers.
This commit is contained in:
Hugo Locurcio 2024-11-19 16:12:22 +01:00
parent fd4c29a189
commit 658bd5a32b
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ void EditorRunNative::_bind_methods() {
}
bool EditorRunNative::is_deploy_debug_remote_enabled() const {
return EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_deploy_remote_debug", false);
return EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_deploy_remote_debug", true);
}
EditorRunNative::EditorRunNative() {

View File

@ -228,7 +228,7 @@ void DebuggerEditorPlugin::_notification(int p_what) {
}
void DebuggerEditorPlugin::_update_debug_options() {
bool check_deploy_remote = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_deploy_remote_debug", false);
bool check_deploy_remote = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_deploy_remote_debug", true);
bool check_file_server = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_file_server", false);
bool check_debug_collisions = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_debug_collisions", false);
bool check_debug_paths = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_debug_paths", false);