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

Commit 2167dfc

Browse files
committed
if break at first line is checked, issue a step into to go to first line of code
1 parent daff864 commit 2167dfc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pugdebug/pugdebug.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,10 @@ def handle_debugging_started(self):
385385

386386
self.open_document(self.debugger.get_index_file())
387387

388+
break_at_first_line = int(get_setting('debugger/break_at_first_line'))
389+
if break_at_first_line > 0:
390+
self.step_into()
391+
388392
def stop_debug(self):
389393
"""Stop a debugging session
390394

0 commit comments

Comments
 (0)