debuggin wih dlv
natxo opened this issue · 1 comments
natxo commented
is it supposed to work?
$ dlv debug main.go
Type 'help' for list of commands.
(dlv) c
2021/05/25 19:50:15 Prompt failed ^D
Process 104218 has exited with status 1
I understand dlv has a prompt too, and maybe this is why it does not play well with promptui, but maybe there is a way to use both?
natxo commented
never mind, I rtfm-ed and you use one of several options https://github.com/go-delve/delve/blob/master/Documentation/faq.md#how-can-i-use-delve-to-debug-a-cli-application