Skip to content

Latest commit

 

History

History
 
 

usage

Using Delve

You can invoke Delve in multiple ways, depending on your usage needs. Delve makes every attempt to be user-friendly, ensuring the user has to do the least amount of work possible to begin debugging their program.

The available commands can be grouped into the following categories:

The above list may be incomplete. Refer to the auto-generated complete usage document to further explore all available commands.

Environment variables

Delve also reads the following environment variables:

  • $DELVE_EDITOR is used by the edit command (if it isn't set the $EDITOR variable is used instead)
  • $DELVE_PAGER is used by commands that emit large output (if it isn't set the $PAGER variable is used instead, if neither is set more is used)
  • $TERM is used to decide whether or not ANSI escape codes should be used for colorized output
  • $DELVE_DEBUGSERVER_PATH is used to locate the debugserver executable on macOS