We are following the below steps in our project for debugging a website on mobile.
- Install mobogenie software on mobile and desktop (both have the same version).
- Open your site in mobile Google Chrome browser.
- Open Google Chrome on desktop. Go to Option --> More Options --> Inspect Device.
- Here you find a list of sites which are open on mobile and click on inspect and you get the JavaScript console which you want.