OS Manuals

/usr/bin/lldb-dap

Swift is a high-performance system programming language. It has a clean and modern syntax, offers seamless access to existing C and Objective-C code and frameworks, and is memory-safe by default.

From swift 6.4.2-r0 (enterprise-packages), captured 2026-11-08 by running lldb-dap --help (exit 0). permalink

Also provided by 1 other package version
OVERVIEW: LLDB DAP

USAGE: lldb-dap options

OPTIONS:
  --check-python       Prints the path to the resolved Python DLL. (Windows only).
  --comm-file <file>   The fifo file used to communicate the with the debug adapter when using --launch-target.
  --connection <connection>
                       Communicate with the lldb-dap tool over the specified connection. Connections are specified like 'listen://[host]:port' or 'accept:///path'.
  -c <value>           Alias for --pre-init-command
  --debugger-pid <pid> The PID of the lldb-dap instance that sent the launchInTerminal request when using --launch-target.
  -g                   Alias for --wait-for-debugger
  --help               Prints out the usage information for the lldb-dap tool.
  -h                   Alias for --help
  --launch-target <target>
                       Launch a target for the launchInTerminal request. Any argument provided after this one will be passed to the target. The parameter --comm-file must also be specified.
  --list-processes     List the processes visible to LLDB's platform as JSON on stdout, then exit. Use --platform and --platform-url to select a non-host platform. The emitted array contains objects with the keys 'pid', 'name', 'triple', 'user', and 'executable'.
  --platform-url <url> Connect the selected platform to the given URL before performing the requested operation. Requires --platform.
  --platform <name>    The name of the LLDB platform to select (e.g. 'host', 'remote-linux'). Used in combination with non-session modes such as --list-processes.
  --pre-init-command <command>
                       A command to execute before the DAP initialization request and right after a Debugger has been created.
  --repl-mode <mode>   The mode for handling repl evaluation requests, supported modes: variable, command, auto.
  --version            Prints out the lldb-dap version.
  -v                   Alias for --version
  --wait-for-debugger  Pause the program at startup.

EXAMPLES:
  The debug adapter can be started in two modes.

  Running lldb-dap without any arguments will start communicating with the
  parent over stdio. Passing a --connection URI will cause lldb-dap to listen
  for a connection in the specified mode.

    lldb-dap --connection listen://localhost:<port>

  Passing --wait-for-debugger will pause the process at startup and wait for a
  debugger to attach to the process.

    lldb-dap -g
Options (15)
OptionDescriptionSource
--check-pythonPrints the path to the resolved Python DLL.help
--comm-file fileThe fifo file used to communicate the with the debug adapter when using --launch-target.help
--connection connectionCommunicate with the lldb-dap tool over the specified connection.help
-c valueAlias for --pre-init-commandhelp
-gAlias for --wait-for-debuggerhelp
--helpPrints out the usage information for the lldb-dap tool.help
-hAlias for --helphelp
--launch-target targetLaunch a target for the launchInTerminal request.help
--list-processesList the processes visible to LLDB's platform as JSON on stdout, then exit.help
--platform nameThe name of the LLDB platform to select (e.g. 'host', 'remote-linux').help
--pre-init-command commandA command to execute before the DAP initialization request and right after a Debugger has been created.help
--repl-mode modeThe mode for handling repl evaluation requests, supported modes: variable, command, auto.help
--versionPrints out the lldb-dap version.help
-vAlias for --versionhelp
--wait-for-debuggerPause the program at startup.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.