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-bootstrap-6-0-1 6.0.1-r6 (enterprise-packages), captured 2026-11-08 by running lldb-dap --help (exit 0). permalink

OVERVIEW: LLDB DAP

USAGE: lldb-dap options

OPTIONS:
  --comm-file <file>   The fifo file used to communicate the with the debug adaptor when using --launch-target.
  --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.
  --port <port>        Communicate with the lldb-dap tool over the defined port.
  -p <value>           Alias for --port
  --repl-mode <mode>   The mode for handling repl evaluation requests, supported modes: variable, command, auto.
  --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 port number causes lldb-dap to start listening
  for connections on that port.

    lldb-dap -p <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 (9)
OptionDescriptionSource
--comm-file fileThe fifo file used to communicate the with the debug adaptor when using --launch-target.help
-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
--port portCommunicate with the lldb-dap tool over the defined port.help
-p valueAlias for --porthelp
--repl-mode modeThe mode for handling repl evaluation requests, supported modes: variable, command, auto.help
--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.