ysc3839 / UWPToyVpn

A UWP VPN plugin sample.
MIT License
39 stars 4 forks source link

How to debug? #5

Open bwjohns4 opened 11 months ago

bwjohns4 commented 11 months ago

Is it possible to put log statements in the background task that's being called by the OS/Vpn? I'm building my own vpn application and need to be able to see into the VpnPlugin client that's running on the background task like in this example.

ysc3839 commented 11 months ago

I don't know. I suggest you ask author of YtFlow: @bdbai. He is experienced on this.

bdbai commented 8 months ago

I am not an expert in Win32 programming as well. AFAIK basically debugging/logging techniques for UWP apps (or even Win32 apps) in general also apply to VPN plugins. Here are some options that you might want to consider: