14
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

macOS Catalina 10.15に上げたら VSCodeでGoがデバッグできなくなった

Posted at

問題

ある日Macをアップデートしたら、VSCodeでデバッグできなくなった。辛い。
VSCode > Debug > Start Debugging とすると
could not launch process: debugserver or lldb-server not found: install XCode's command line tools or lldb-server Process exiting with code: 1
と言われてしまう。。。

解決

Terminalにて、

$ xcode-select --install

と打つと、親切にも「コマンドラインツールが必要です、ダウンロードしますか?😅」 と言ってくれるので、それに従いインストール→起動成功🎉

過程

  • command line toolsが必要らしく、 https://developer.apple.com/download/more/ にアクセスして見てみたが、10.15用のToolsが 2019/10/25時点では無かった。
  • XCodeが最新ではなかったため、アップデートすれば一緒に入ってくるかなと思ってアップデートしてみたけど無理。
  • 最終的に上記の方法でいけた
14
5
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
14
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?