-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrealgud-node-inspect.el
52 lines (40 loc) · 2.1 KB
/
realgud-node-inspect.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
;;; realgud-node-inspect.el --- Realgud front-end to newer "node inspect" -*- lexical-binding: t -*-
;; Author: Rocky Bernstein <[email protected]>
;; Version: 1.0.0
;; Package-Type: multi
;; Package-Requires: ((realgud "1.4.5") (load-relative "1.2") (cl-lib "0.5") (emacs "24"))
;; URL: http://github.com/realgud/realgud-node-inspect
;; Compatibility: GNU Emacs 24.x
;; Copyright (C) 2019 Free Software Foundation, Inc
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; realgud support for the "node inspect" with V8 inspector support.
;; See https://nodejs.org/api/debugger.html
;;
;; Note: for node before version 6.3, an older protocol is used. In
;; realgud, that debugger for the older version is called
;; `node-debug`.
;;
;;; Code:
;; Press C-x C-e at the end of the next line configure the program in
;; for building via "make" to get set up.
;; (compile (format "EMACSLOADPATH=:%s:%s:%s:%s ./autogen.sh" (file-name-directory (locate-library "test-simple.elc")) (file-name-directory (locate-library "realgud.elc")) (file-name-directory (locate-library "load-relative.elc")) (file-name-directory (locate-library "loc-changes.elc"))))
(require 'load-relative)
(defgroup realgud-node-inspector nil
"Realgud interface to the 'node inspect' debugger"
:group 'realgud
:version "25.1")
(require-relative-list '( "./realgud-node-inspect/node-inspect" ) "realgud-")
(load-relative "./realgud-node-inspect/node-inspect.el")
(load-relative "./realgud-node-inspect/track-mode.el")
(provide-me)
;;; realgud-node-inspect.el ends here