Merge pull request #99428 from Calinou/editor-default-enable-remote-deploy-debug

Enable Deploy with Remote Debug by default in the editor
This commit is contained in:
Thaddeus Crews 2024-12-19 20:00:02 -06:00
commit 76d66d47dd
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
2 changed files with 2 additions and 2 deletions

View file

@ -187,7 +187,7 @@ void EditorRunNative::_bind_methods() {
} }
bool EditorRunNative::is_deploy_debug_remote_enabled() const { 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() { EditorRunNative::EditorRunNative() {

View file

@ -228,7 +228,7 @@ void DebuggerEditorPlugin::_notification(int p_what) {
} }
void DebuggerEditorPlugin::_update_debug_options() { 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_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_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); bool check_debug_paths = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_debug_paths", false);