Debugging Platform Server

Any guidance on how to run Mattermost in a debugger? What toolchains do devs use? I’m on a Mac OS X system and I can generate builds for it and for Linux without issue. TIA


I use Jetbrains IntelliJ or WebStorm IDE’s and they both support a golang plugin that includes the debugger