talira

Debugger for Java

Microsoft's Java debugger for VS Code

open sourceMITfree

Debugger for Java is Microsoft's extension (vscjava.vscode-java-debug) that debugs Java programs in Visual Studio Code, built on Microsoft's Java Debug Server as a plugin to Red Hat's Language Support for Java. It launches or attaches to programs with breakpoints, conditional breakpoints and logpoints, exception breakpoints, stepping, variables, call stacks, threads, a debug console with evaluation and hot code replace. Its debugjava terminal command debugs a main class or a JAR without a launch.json. It needs a JDK and Red Hat's Language Support for Java, and it's on the VS Code Marketplace and Open VSX.

Problems it solves

  • set breakpoints and step through my Java code in VS Code
  • attach a debugger to a running Java process from my editor
  • debug a Java JAR without writing a launch configuration

Features

  • launch and attach debugging
  • conditional breakpoints and logpoints
  • hot code replace
  • debug console evaluation
  • debug without launch.json

Limitations

  • Needs Red Hat's Language Support for Java extension and a JDK1

Alternatives

The same job

These do what Debugger for Java does.

  1. Lightrun Live debugging and runtime context for production code, plus an AI SRE agent
  2. Python Debugger Python debugging with debugpy for Visual Studio Code

Compare Debugger for Java with the top 3