muziyue
V2EX  ›  问与答

请教一下前端们, js 库出了问题怎么调试

  •  
  •   muziyue · Aug 2, 2017 · 2391 views
    This topic created in 3242 days ago, the information mentioned may be changed or developed.
    后端狗一名,现在使用 electron 开发客户端程序,虽然之前也写 js,但是接触前端工程化没多久
    现在使用的一些库有一些报错,单独测试使用没问题,应该是有些冲突(或者 electron 的锅)
    我现在该怎么调试呢,直接修改 node_modules 下的源码么?有什么工具么?
    2 replies    2017-08-03 14:21:30 +08:00
    Sparetire
        1
    Sparetire  
       Aug 2, 2017
    vscode debug
    weishijun14
        2
    weishijun14  
       Aug 3, 2017
    console.log / debugger / chrome devTool 断点
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2617 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 12:53 · PVG 20:53 · LAX 05:53 · JFK 08:53
    ♥ Do have faith in what you're doing.