How to debug JavaScript code with mobile browsers

后端 未结 4 1991
南方客
南方客 2020-12-24 06:07

I know about firebug and the developer tools for the major modern desktop browsers, but I can\'t find any way of debugging JavaScript code on mobile browsers.

What a

4条回答
  •  醉话见心
    2020-12-24 06:45

    Android provides a tool set for these purposes: https://developers.google.com/web/tools/chrome-devtools/remote-debugging/?utm_source=dcc&utm_medium=redirect&utm_campaign=2016q3

    Apple does it a similar way: https://developer.apple.com/safari/tools/

    Tutorial: https://css-tricks.com/using-chrome-devtools-to-debug-javascript-in-any-browser-with-ghostlab-2/

提交回复
热议问题