CLion 2025.3 Help

Debug Adapter Protocol

Besides LLDB and GDB, CLion can work with third-party debuggers that support the Debug Adapter Protocol (DAP). The DAP technology enables CLion to interact with various debugger implementations through a standardized interface. Ultimately, CLion’s DAP support provides a consistent debugging experience when using a new, non-LLDB/GDB debugger that supports this protocol.

Configure a DAP debugger

  1. Go to Settings | Build, Execution, Deployment | Debugger | DAP Debuggers and then click + to add a new DAP debugger.

    Adding a new DAP debugger
  2. Specify your DAP debugger’s name, path to the executable, arguments, and the launch and attach parameters. Then, click Apply.

    Adding a path to the DAP debugger executable
  3. Go to Settings | Build, Execution, Deployment | Toolchains and select your toolchain.

  4. Select your DAP debugger from the Debugger drop-down list and click OK.

    Selecting the DAP debugger in a toolchain

You can now perform standard debugger actions.

Current limitations

  • CLion connects to DAP servers only via stdin/stdout, not via a TCP port (CPP-46675).

  • DAP debuggers only work with local toolchains.

24 November 2025