神刀安全网

A Go debugger for Atom

go-debug

A go debugger for atom usingdelve.

A Go debugger for Atom

Install

Either apm install go-debug or search for go-debug in the settings.

Install delve

see https://github.com/derekparker/delve/tree/master/Documentation/installation

Key bindings

  • f5 runs the current package ( dlv debug )
  • ctrl-f5 runs the current package tests ( dlv test )
  • shift-f5 restarts the current delve session ( r / restart )
  • f6 stops delve ( exit / quit / q )
  • f8 continue the execution ( c / continue )
  • f10 step over to next source line ( n / next )
  • f11 step into functions ( s / step )
  • cmd-k cmd-g (mac) / ctrl-k ctrl-g (others) toggles the main panel

Links

  • Gopher community on slack: A Go debugger for Atom

    Questions? Use the go-plus channel or send me direct messages

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » A Go debugger for Atom

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
分享按钮