Neovim for Beginners — Java Debugging

Use Neovim to debug a Java application.

alpha2phi
2 min readMay 29, 2022
Neovim for Beginners — java Debugging

We configure Neovim for Java development in the previous article. In this article, we will configure debugging for Java using nvim-dap.

This article is part of the Neovim for Beginners series.

The Neovim configuration files can be found in this repository.

Getting Started

To support debugging, we need to install java-debug and vscode-java-test.

  • For java-debug installation, follow the instructions here.
  • For vscode-java-test installation, follow the instructions here.

Alternatively, we can use the following Shell script.

Install Java Debuggers

The script installs the repositories under $HOME/.local/share/nvim.

nvim-dap

Configuration

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.