1.​​eruda​

(function() {
var script = document.createElement('script');
script.src = "http://cdn.bootcss.com/eruda/1.4.2/eruda.min.js";
document.body.appendChild(script);
script.onload = function() { eruda.init() }
})();

2.​​alert​

app嵌套H5 alert 会有被拦截的风险

3.​​document.write​

可用于打印信息

4.​​vconsole​

npm install vconsole --save-dev

import Vconsole from 'vconsole'
let vc = new Vconsole()