diff --git a/README.md b/README.md index d38711a3e1b3b4422d93f41843768bcb595a62d2..669083a1632bac60827df44fe55992eb13b847b2 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,12 @@ The debugger can be launched in three ways: $ sudo dlv -pid 44839 ``` +### Breakpoints + +Delve can insert breakpoints via the `breakpoint` command once inside a debug session, however for ease of debugging, you can also call `runtime.Breakpoint()` and Delve will handle the breakpoint and stop the program at the next source line. + +### Commands + Once inside a debugging session, the following commands may be used: * `break` - Set break point at the entry point of a function, or at a specific file/line. Example: `break foo.go:13`.