PLAY PODCASTS
Emacs IDE - How to Debug Your Code with dap-mode

Emacs IDE - How to Debug Your Code with dap-mode

Emacs.si

January 14, 2024

Audio is streamed directly from the publisher (kino.kompot.si) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

In this video, we'll learn how to use the dap-mode package to interact with debuggers for a variety of languages, all with a consistent interface. We will be covering TypeScript debugging as an example, but future videos in the Emacs IDE series will focus on setting up lsp-mode and dap-mode for specific languages!

Bookmarks (thanks to The Nerdy Hamster!):

0:00 Introduction
0:45 Introduction to dap-mode
4:16 Setup of dap-mode with TypeScript
6:42 dap-mode basics
14:09 Debug templates
19:16 Features of Breakpoints
27:51 dap-mode controls (keyboard, mouse)
30:26 dap-mode frames explanation (locals & expressions)
33:47 Debug REPL
36:28 dap-mode tooltips
37:47 Using VSCode debug config
39:17 dap-mode configuration

The configuration for this stream can be found here: https://github.com/daviwil/emacs-from-scratch/blob/210e517353abf4ed669bc40d4c7daf0fabc10a5c/Emacs.org#debugging-with-dap-mode

My Emacs configuration: https://github.com/daviwil/dotfiles/blob/master/Emacs.org

If you enjoy this series, please consider becoming a GitHub Sponsor: https://github.com/sponsors/daviwil

Follow me on Twitter for more Emacs content!
https://twitter.com/SystemCrafters

Join the System Crafters community on Discord: https://discord.gg/yVD8Gx6

Intro music: Coriolis Effect by logos feat. stefsax, licensed CC-BY
http://ccmixter.org/files/mseq/26296