UNPKG

trepan-ni

Version:

Trepan debugger for Node Inspect (and based on node inspect debugger)

30 lines (23 loc) 621 B
// Copyright 2018 Rocky Bernstein 'use strict'; /*======================================== Debugger 'step' (step in) command ==========================================*/ exports.Init = function(intf, repl) { intf.defineCommand('step', repl, { paused: true, help: `Step program until it reaches a different source line. Usage: step Functions that are called in the line are entered. This command is sommetimes called "step into". See also: --------- next, finish, cont, run `, aliases: ['s'], run: function() { intf.handleResumed(); return intf.Debugger.stepInto(); }, }); };