Sorry XuDongPeng-MSFT ,
I took sometime to reply on that. I was able to make it work through Edge Canary. I am not sure why it didn't work with Production Edge but another point is if i run the .exe only it started working but it didn't work when I ran it through VS 2019.