Files
Archana Ravindar e835184aff Add flag to retain trace directory after detach (#4091)
* Add flag to retain trace directory after detach
Fixes https://github.com/go-delve/delve/issues/4079

* Addressing review comments

* To fix test errors coming in issue 4051

* Skip TestIssue4051 for rr backend

* Address remaining review comments
2025-09-10 11:50:46 -04:00
..
2024-12-16 12:30:47 -08:00
2024-12-16 12:30:47 -08:00
2024-12-16 12:30:47 -08:00

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