为什么node --inspect app.js 不能激活

来源:1-2 激活调试

慕粉3690648

2019-03-16 22:48

为什么node --inspect app.js 不能激活

写回答 关注

4回答

  • UFO2015
    2020-02-09 23:10:11

    `.vscode/settings.json`

    {"editor.fontSize": 16,"editor.renderWhitespace": "all","path-intellisense.mappings": {"@": "${workspaceRoot}/src/operate-tool/src"},"editor.tabSize": 2,// 激活 node inspect debugger"debug.node.autoAttach": "on",}


  • UFO2015
    2020-02-09 23:07:48

    http://img2.mukewang.com/5e40200800019a5815360528.jpg

    auto lunch debugger

  • 白小明
    2019-08-10 11:11:38

    "debug.node.autoAttach": "on"

  • wen98y
    2019-03-30 23:22:33

    哇 确实唉  我设置了  就好用了   

    就是在 vscode 的设置中  搜索就好  之后把选项改为on

node.js调试入门

理论实践相结合学习使用 Inspector 调试 Node.js。

20962 学习 · 21 问题

查看课程

相似问题