js调试

在chrome下的调试案例

1.console.log()

$("#typeid").change(function(){
        var id = $(this).val();
        console.log(id);
        setbigclass(id);
    });

2.断点设置

3.单步

4.加入watch

双击后右击,加入watch,就可以看了

原文地址:https://www.cnblogs.com/jiqing9006/p/3514822.html