trepan-ni
Version:
Trepan debugger for Node Inspect (and based on node inspect debugger)
27 lines (21 loc) • 514 B
JavaScript
// Copyright 2018 Rocky Bernstein
;
/*========================================
Debugger 'run' command.
==========================================*/
exports.Init = function(intf, repl) {
intf.defineCommand('run', repl, {
paused: false,
help: `Run, restart or reconnect the application.
Usage: run
Existing breakpoints are saved and restored.
See also:
--------
cont, kill, quit
`,
aliases: ['r', 'restart'],
run: function() {
return intf.inspector.run();
}
});
};