Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.26 KB

DAP.md

File metadata and controls

32 lines (18 loc) · 1.26 KB

Debug Adapter Protocol

LSP4IJ provides Debug Adapter Protocol support with the Debug Adapter Protocol run/debug configuration type:

DAP Configuration Type

After configuring the DAP configuration type, you can debug your file.
Here is an example with JavaScript debugging, which uses the VSCode JS Debug DAP server:

DAP Configuration Type

DAP Configuration Type:

To configure debugging with DAP, you need to fill in:

  • The Configuration tab to specify the working directory and the file you want to run/debug:

    DAP Configuration Type/Configuration

  • The Mappings tab to specify the files which can be debugged to allow adding/removing breakpoints:

DAP Configuration Type/Mappings

  • The Server tab to specify the DAP server:

    DAP Configuration Type/Server

Templates