Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

Commit c1756f8

Browse files
committed
default settings for debugger features
1 parent 96f12fd commit c1756f8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pugdebug/models/settings.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ def setup_debugger_settings(self):
5656
# between checked and unchecked state
5757
self.application_settings.setValue('break_at_first_line', 2)
5858

59+
if not self.application_settings.contains('max_depth'):
60+
self.application_settings.setValue('max_depth', '3')
61+
62+
if not self.application_settings.contains('max_children'):
63+
self.application_settings.setValue('max_children', '128')
64+
65+
if not self.application_settings.contains('max_data'):
66+
self.application_settings.setValue('max_data', '512')
67+
5968
self.application_settings.endGroup()
6069

6170
def setup_path_settings(self):

0 commit comments

Comments
 (0)