跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 去的 vscode 突然不能 debug 了,提示我 “Breakpoint set but not yet bould?” “vs code unsupported”
未分類
4 4 月 2020

去的 vscode 突然不能 debug 了,提示我 “Breakpoint set but not yet bould?” “vs code unsupported”

去的 vscode 突然不能 debug 了,提示我 “Breakpoint set but not yet bould?” “vs code unsupported”

資深大佬 : yazoox 58

最近在学习 react.js 小书,里面有不错的例子,便 debug 看看。( refer to:https://github.com/huzidaha/react-naive-book-examples/tree/master/comment-app3/src)

下载下来,npm install,然后 npm start 。都挺正常的,没有问题。

接着在 vscode 里面,配置好 debugger for chrome (一个插件 microsoft 出的). F5 就可以开始了。

下午一直都是好的,断点什么的,正常工作。6:00pm 左右的时候,突然一下子。就不能 debug 了!

所有的断点提示我 “Breakpoint set but not yet bould ?”

然后,vscode 的标题栏出现了图片中的 unsupported 。右下脚也有提示 什么 currupt

可是,我并不知道哪里出了问题?怎么知道是哪里,可以某插件出问题了?或者怎么看到详细的出错提示?

谢谢!

{     // 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",     "configurations": [         {             "type": "chrome",             "request": "launch",             "name": "Launch Chrome against localhost",             "url": "http://localhost:3000",             "webRoot": "${workspaceFolder}"         }     ] } 

去的 vscode 突然不能 debug 了,提示我 "Breakpoint set but not yet bould?" "vs code unsupported" 去的 vscode 突然不能 debug 了,提示我 "Breakpoint set but not yet bould?" "vs code unsupported"

https://i.postimg.cc/yxJZwNJm/PIC-20200413002.jpg

https://i.postimg.cc/PJBwhkZB/PIC-20200413003.jpg

大佬有話說 (3)

  • 主 資深大佬 : yazoox

    暂时解决了! 太扯蛋了。

    我有两台机器,刚才出问题的是其中一台 A,另外一台机器 B 是好的。

    于是,我把 A 上面的 vscode 彻底删除,全新安装。只安装 debug for chrome 。还是不行。

    百度 /google 了一下,试了试。就添加了 /src 。结果,好了,breakpoint 能够正常工作了。
    “`
    “webRoot”: “${workspaceFolder}/src”,
    “`

    我要疯了。为什么啊?

    两台机器,都是下载的这个 comment-app 本来都是直接”webRoot”: “${workspaceFolder}”就能够正常 debug
    现在其中一台必须要添加 /src,另外一台不需要…..

    这太扯蛋了吧?

  • 資深大佬 : a852695

    bug 了吧

  • 資深大佬 : pomelotea2009

    这么复杂的问题,如果搜素不到答案,最直接的方式就是重开重启重装三连 [doge]

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具