O'Reilly logo

Mastering Internet of Things by Peter Waher

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

Testing and debugging your service

If you have the possibility, it's easier to develop, test, and debug on your local machine. One way to do this, is to use the console version of the IoT Gateway. To test and debug your service, follow these steps:

  • Install the IoT Gateway with all files, including debug files
  • Execute Waher.Utility.Install from a post-build command-line event in Visual Studio, to install your service after successful compilation
  • In the debug settings, launch the Waher.IoTGateway.Console executable file in the installation working folder, instead of executing the project file

You should now be able to run and debug your service directly from the Visual Studio IDE.

An alternative is to execute the dotnet.exe application instead ...

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