Modern Neovim— Debugging and Testing

Configure a modern debugging and test-driven development environment with Neovim.

alpha2phi
6 min readJan 29, 2023
Modern Neovim — Debugging and Testing

In this article, we will focus on setting up a test-driven development environment with Neovim, with an integrated debugging user interface to debug the application and test cases.

This article is part of the Modern Neovim series.

The Neovim configuration files are available in this repository.

Getting Started

We already have a fully functional development environment using the current Neovim setup and using lazy.nvim, we can easily extend the setup to support any other programming languages.

Modern Neovim Development Environment

For a better development experience, and as part of standard software development practice, we will integrate test-driven development and debugging features into our current setup.

Debugging using DAP

Configuration

For debugging, we will use thenvim-dap plugin and other DAP-related plugins.

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.