How to debug the mobile browser page, please use vconsole

I found that the display effect of the browser page on the mobile phone is not consistent with that of the mobile phone simulated in the developer mode of the computer browser. How should I debug it? You can try adding vconsole code.

Rewrite the console method through vConsole.js to achieve a mobile debugging effect similar to the WeChat applet.
The specific usage is as follows

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>demo.html</title>
    <script src="https://cdn.bootcss.com/vConsole/3.3.0/vconsole.min.js"></script>
</head>
<body>
    <script type="text/javascript">
        let vConsole = new VConsole();
    </script>
</body>
</html>

Guess you like

Origin blog.csdn.net/mini_snow/article/details/121008925