Thanks Matt.
Just raised a bug report: FB8815876 (With VPN switched on no messages can be seen on console and can not connect with Xcode)
Also add more details here for others to see if they can reproduce the same issue step by step.
Description of the issue:
When I tested with my iPhone SE(1st generation, iOS 14.0.1) on Mac OS Catalina 10.15.7 / Xcode 12.0.1 I found that with the VPN(NETunnelProvider, 'includeAllNetworks' set to be true) switched on there are no messages being shown on the console, and also on Xcode it shows 'iPhone(unavailable)'. After I switched off the VPN it came back to normal.
I was using a USB cable to connect the iOS device with the MBP's left side USB port.
Steps to reproduce:
An iPhone SE(1st generation, iOS 14.0.1) / Mac OS Catalina 10.15.7 / Xcode 12.0.1;
A VPN application coded with NETunnelProvider, set 'includeAllNetworks' to be true (if it's false then cannot reproduce this issue);
Install the VPN application on the iPhone and switch it on;
Connect the iPhone to the Mac Book Pro with a USB cable;
Only after the iPhone is connected with the Mac Book Pro then(this is critical to reproduce the issue)
open 'Console' on the Mac Book Pro and check the messages on the iPhone;
Open 'Xcode' to select a device to run.
Expect results: On 'Console' could see the messages;
On 'Xcode' could see the 'iPhone';
Actual results: On 'Console' there are no messages output;
On 'Xcode' it shows iPhone(unavailable).