O'Reilly logo

Go Web Development Cookbook by Arpit Aggarwal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required