Debugging your first remote WebSocket server

In the previous recipe, we learnt how to debug a WebSocket server that is running locally. In this recipe, we will learn how to debug it if it is running on another or a remote machine.

The steps are more or less the same as we took in the previous recipe except for the debug configuration section where we will change the localhost to the remote machine IP or DNS and start the Delve server, which is a debugger for the Go programming language on the remote machine.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.148.210