微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

调试反应代码时无法跳过 Node_module我的 Launch.json 文件看起来像这样

如何解决调试反应代码时无法跳过 Node_module我的 Launch.json 文件看起来像这样

{
  "version": "0.2.0","configurations": [
    {
      "type": "pwa-chrome","request": "launch","name": "Launch Chrome against localhost","url": "http://localhost:3001","webroot": "${workspaceFolder}"
    }
  ],"debug.javascript.terminalOptions": {
    "skipFiles": [
      "${workspaceFolder}/node_modules/**/*.js","${workspaceFolder}/lib/**/*.js","<node_internals>/**/*.js"
    ]
  }
}

我也尝试了下面的其他配置,它也不会跳过我的 vs 代码中的节点模块。在我的 vs 代码上更新配置后,我重新启动 VS 代码。请帮忙。

{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information,visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0","webroot": "${workspaceFolder}","skipFiles": [
        "${workspaceFolder}/node_modules/**/*.js","<node_internals>/**/*.js"
      ]
    }
  ]
}

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。