去的 vscode 突然不能 debug 了,提示我 "Breakpoint set but not yet bould?" "vs code unsupported" - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
yazoox
V2EX    Visual Studio Code

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

  •  
      yazoox 2020-04-13 19:37:53 +08:00 3750 次点击
    这是一个创建于 2081 天前的主题,其中的信息可能已经有所发展或是发生改变。

    最近在学习 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}" } ] } 

    appears to be currupt visual studio code unsupported

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

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

    3 条回复    2020-04-14 12:52:00 +08:00
    yazoox
        1
    yazoox  
    OP
       2020-04-13 21:19:10 +08:00
    暂时解决了! 太扯蛋了。

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

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

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

    我要疯了。为什么啊?

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

    这太扯蛋了吧?
    a852695
        2
    a852695  
       2020-04-14 09:38:10 +08:00
    bug 了吧
    pomelotea2009
        3
    pomelotea2009  
       2020-04-14 12:52:00 +08:00 via Android
    这么复杂的问题,如果搜素不到答案,最直接的方式就是重开重启重装三连 [doge]
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2944 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 25ms UTC 12:25 PVG 20:25 LAX 04:25 JFK 07:25
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86