I want to run XDebug using the "On Demand Mode" in PhpStorm or IntelliJ. The problem is that it's running on a VM, and the documentation above seems to only describe when using PHP locally.
How can I run XDebug "On Demand Mode" in PhpStorm for a Virtual Machine or Remote Host?