microsoft / vs-azure-iot-edge-docs

Documentation for Azure IoT Edge Tools for Visual Studio
Creative Commons Attribution 4.0 International
5 stars 6 forks source link

Add remote debug support #2

Closed adashen closed 5 years ago

adashen commented 5 years ago

This is a feedback from customer in iotedghubdev repo https://github.com/Azure/iotedgehubdev/issues/191

Add details here:

As far as I can tell, VS 2019 IoT Edge module projects don't work with remote debugging because iotedgehubdev doesn't. Remote debugging is necessary when developing on a Windows machine with an Insider build installed because Docker refuses to install. I have docker running on a remote linux machine that should work but I have no discernible options to do so in the UI.

SLdragon commented 5 years ago

Remote debug support in Visual Studio is not straightforward, here is a blog shows how to remote debug remote linux module container using Visual Studio 2017.

https://devblogs.microsoft.com/iotdev/debug-iot-edge-c-or-csharp-linux-module-container-with-visual-studio-azure-iot-edge-tools/

SLdragon commented 5 years ago

Close due to no activity, if you have any other questions, feel free to create another issue