LoginSignup
2
2

More than 5 years have passed since last update.

MacOS + Golang + Gogland(JetBrains/IntelliJ)でソースレベルデバックできるようにした

Last updated at Posted at 2017-07-17

MacでIntelliJを使ってGoのウェブアプリを開発していました。調べたら2016年12月にJetBrainsがGoglandというIntelliJをGoに特化したIDEをリリースしていました。そこでGoglandに乗り換えたのですが、ソースレベルデバッガが起動しない・・・

エラーメッセージ

$ could not launch process: exec: "lldb-server": executable file not found in $PATH

調べたら、これで解決する模様。よく見たらGoglandのエラーメッセージにも出力されていた。

$ xcode-select --install

しかもIntelliJではGo Testでソースレベルデバッガは機能しなかったのに、Goglandなら機能するようになった!

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2