Golang IDE - LiteIDE 设置

Go IDE

LiteIDE

  • brew cask install liteide
  • brew install gdb
    • echo "set startup-with-shell off" >> ~/.gdbinit
  • create cert and trust it

Was able to get this to work. The purpose for creating a certificate was to codesign gdb on Mac. Here are the steps for the same:
Create a certificate with all the parameters mentioned above.
Instead of saving the Keychain under location System, save it under Login.
Then, unlock the System Keychain by clicking on the lock icon on the top left corner and drag the certificate from Login to System.
Right Click the Certificate, click on Get Info and and under Trust, set to Always Trust.
Restart taskgated in terminal: sudo killall taskgated
Enable root account:

  • Open System Preferences.
  • Go to User & Groups > Unlock.
  • Login Options > "Join" (next to Network Account Server).
  • Click "Open Directory Utility".
  • Go up to Edit > Enable Root User.
  • Run codesign -fs gdbcert /usr/local/bin/gdb in the terminal.
  • Disable Root Account again and you should be good to go.

你可能感兴趣的:(Golang IDE - LiteIDE 设置)