diff options
author | Dmitry Sharshakov | 2021-09-26 18:36:06 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-09-26 18:36:06 +0000 |
commit | d943a51e3e8e2cd77cc336c30eb954378e81fe31 (patch) | |
tree | 6a6cc9d6bc58669045806bf04fbe77b18aa58527 /languages.toml | |
parent | 0e51e5fbaf6eeffa25b8660b96f2486174671492 (diff) |
editor: add Node.js debugger
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index eb49a70c..a5640c21 100644 --- a/languages.toml +++ b/languages.toml @@ -188,6 +188,18 @@ comment-token = "//" indent = { tab-width = 2, unit = " " } +[language.debugger] +name = "node-debug2" +transport = "stdio" +# args consisting of cmd (node) and path to adapter should be added to user's configuration +quirks = { absolute-paths = true } + +[[language.debugger.templates]] +name = "source" +request = "launch" +completion = [ { name = "main", completion = "filename", default = "index.js" } ] +args = { program = "{0}" } + [[language]] name = "typescript" scope = "source.ts" |