package main import "fmt" func main() { _ = "breakpoint" // Pauses the program. x := "debugger" greet(x) // Try using the 'step' command! farewell(x) } func greet(x string) { fmt.Printf("Hello, %s!\n", x) } func farewell(x string) { fmt.Printf("Goodbye, %s!\n", x) }
Debug it!