branch: externals/dape
commit 75231682dbf64c8b674b318109052d926558f939
Author: Justin Jung <jus...@bustinbung.com>
Commit: GitHub <nore...@github.com>

    Add new TypeScript mode using tsx over ts-node (#246)
    
    Copyright-paperwork-exempt: yes
---
 dape.el | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dape.el b/dape.el
index 3b9b7d6db9..1599c8bcbf 100644
--- a/dape.el
+++ b/dape.el
@@ -271,6 +271,14 @@
            :cwd dape-cwd
            :program dape-buffer-default
            :console "internalConsole")
+          (js-debug-tsx
+           modes (typescript-mode typescript-ts-mode)
+           ,@js-debug
+           :type "pwa-node"
+           :runtimeExecutable "tsx"
+           :cwd dape-cwd
+           :program dape-buffer-default
+           :console "internalConsole")
          (js-debug-node-attach
            modes (js-mode js-ts-mode typescript-mode typescript-ts-mode)
            ,@js-debug

Reply via email to