调试反应代码时无法跳过 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 (将#修改为@)