Use Azure Virtual Machine's serial console to debug both with direct serial-based access and fix issues with minimal effort.
Use Serial Console to:
- Gain access to Virtual Machines with network connectivity issues.
- Fix and troubleshoot issues as if you're connecting physical keyboards to your machines for both Linux and Windows.
Source: Azure Roadmap