How to do it...

  1. Add another configuration by clicking on Edit Configurations... as shown in the following screenshot:
  1. Click on the + sign to Add New Configuration and select Go Remote:
  1. Rename the debug configuration to WebSocket Remote Debug, change the Host to remote-machine-IP or DNS, and click on Apply and OK as shown in the following screenshot:
  1. Run a headless Delve server on the target or remote machine by executing the following ...

Get Go Web Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.