Skip to content
Myr

docs: add delve instructions

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Christian Rocha · committed by Christian Rocha · parent feeffca · Browse files · 1 file+17 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+17 added−0 removed

  • other:+17 added−0 removed

1 file+17 added−0 removed

modified:README.md+17 added
253 unmodified lines
254[cmd]: http://github.com/charmbracelet/bubbletea/tree/master/tutorials/commands/255[examples]: http://github.com/charmbracelet/bubbletea/tree/master/examples256[docs]: https://pkg.go.dev/github.com/charmbracelet/bubbletea?tab=doc257258## Debugging with Delve259260Since Bubble Tea apps assume control of of stdin and stdout, you’ll need to run261delve in headless mode and then connect to it:262263```bash264# Start the debugger265$ dlv debug --headless .266API server listening at: 127.0.0.1:34241267268# Connect to it from another terminal269$ dlv connect 127.0.0.1:34241270```271272Note that the default port used will vary on your system and per run, so273actually watch out what address the first `dlv` run tells you to connect to.274275## Libraries we use with Bubble Tea276277* [Bubbles][bubbles]: Common Bubble Tea components such as text inputs, viewports, spinners and so on278* [Lip Gloss][lipgloss]: Style, format and layout tools for terminal applications
73 unmodified lines