branch: master commit 8e1ef01a8ffcde804d33ed3763f558965b18c547 Author: rocky <ro...@gnu.org> Commit: rocky <ro...@gnu.org>
core.el: correct trepanjs options init.el: we can have "stop on" as well as "break on" or "execption on" --- realgud/debugger/trepanjs/core.el | 6 +++--- realgud/debugger/trepanjs/init.el | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/realgud/debugger/trepanjs/core.el b/realgud/debugger/trepanjs/core.el index 3a4bfed..eac8a0e 100644 --- a/realgud/debugger/trepanjs/core.el +++ b/realgud/debugger/trepanjs/core.el @@ -72,13 +72,13 @@ Note that path elements have been expanded via `expand-file-name'. (let ( (args orig-args) (pair) ;; temp return from - (node-two-args '("-port" "C" "D" "i" "l" "m" "-module" "x")) + (node-two-args '("-max-stack-size")) ;; node doesn't have any optional two-arg options (node-opt-two-args '()) ;; One dash is added automatically to the below, so - ;; h is really -h and -debugger_port is really --debugger_port. - (trepanjs-two-args '("-debugger_port")) + ;; p is really -p and -port is really --port. + (trepanjs-two-args '("-port" "-host" "-pid" "p")) (trepanjs-opt-two-args '()) ;; Things returned diff --git a/realgud/debugger/trepanjs/init.el b/realgud/debugger/trepanjs/init.el index 4bd2b39..672dc98 100644 --- a/realgud/debugger/trepanjs/init.el +++ b/realgud/debugger/trepanjs/init.el @@ -42,7 +42,7 @@ realgud-loc-pat struct") (setf (gethash "loc" realgud:trepanjs-pat-hash) (make-realgud-loc-pat :regexp (format - "\\(?:%s\\)*\\(?:break\\|exception\\) in %s:%s" + "\\(?:%s\\)*\\(?:break\\|exception\\|stop\\) in %s:%s" realgud:js-term-escape realgud:trepanjs-file-regexp realgud:regexp-captured-num) :file-group 1