{"id":93379,"date":"2020-04-04T10:22:54","date_gmt":"2020-04-04T02:22:54","guid":{"rendered":"http:\/\/4563.org\/?p=93379"},"modified":"2020-04-04T10:22:54","modified_gmt":"2020-04-04T02:22:54","slug":"%e5%8e%bb%e7%9a%84-vscode-%e7%aa%81%e7%84%b6%e4%b8%8d%e8%83%bd-debug-%e4%ba%86%ef%bc%8c%e6%8f%90%e7%a4%ba%e6%88%91-breakpoint-set-but-not-yet-bould%ef%bc%9f-vs-code-unsupported","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=93379","title":{"rendered":"\u53bb\u7684 vscode \u7a81\u7136\u4e0d\u80fd debug \u4e86\uff0c\u63d0\u793a\u6211 &#8220;Breakpoint set but not yet bould\uff1f&#8221; &#8220;vs code unsupported&#8221;"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u53bb\u7684 vscode \u7a81\u7136\u4e0d\u80fd debug \u4e86\uff0c\u63d0\u793a\u6211 &#8220;Breakpoint set but not yet bould\uff1f&#8221; &#8220;vs code unsupported&#8221;               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yazoox <\/span>  <span><i><\/i> 58<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6700\u8fd1\u5728\u5b66\u4e60 react.js \u5c0f\u4e66\uff0c\u91cc\u9762\u6709\u4e0d\u9519\u7684\u4f8b\u5b50\uff0c\u4fbf debug \u770b\u770b\u3002\uff08 refer to:https:\/\/github.com\/huzidaha\/react-naive-book-examples\/tree\/master\/comment-app3\/src)<\/p>\n<p>\u4e0b\u8f7d\u4e0b\u6765\uff0cnpm install\uff0c\u7136\u540e npm start \u3002\u90fd\u633a\u6b63\u5e38\u7684\uff0c\u6ca1\u6709\u95ee\u9898\u3002<\/p>\n<p>\u63a5\u7740\u5728 vscode \u91cc\u9762\uff0c\u914d\u7f6e\u597d debugger for chrome \uff08\u4e00\u4e2a\u63d2\u4ef6 microsoft \u51fa\u7684\uff09. F5 \u5c31\u53ef\u4ee5\u5f00\u59cb\u4e86\u3002<\/p>\n<p>\u4e0b\u5348\u4e00\u76f4\u90fd\u662f\u597d\u7684\uff0c\u65ad\u70b9\u4ec0\u4e48\u7684\uff0c\u6b63\u5e38\u5de5\u4f5c\u30026\uff1a00pm \u5de6\u53f3\u7684\u65f6\u5019\uff0c\u7a81\u7136\u4e00\u4e0b\u5b50\u3002\u5c31\u4e0d\u80fd debug \u4e86\uff01<\/p>\n<p>\u6240\u6709\u7684\u65ad\u70b9\u63d0\u793a\u6211 \u201cBreakpoint set but not yet bould \uff1f\u201d<\/p>\n<p>\u7136\u540e\uff0cvscode \u7684\u6807\u9898\u680f\u51fa\u73b0\u4e86\u56fe\u7247\u4e2d\u7684 unsupported \u3002\u53f3\u4e0b\u811a\u4e5f\u6709\u63d0\u793a \u4ec0\u4e48 currupt<\/p>\n<p>\u53ef\u662f\uff0c\u6211\u5e76\u4e0d\u77e5\u9053\u54ea\u91cc\u51fa\u4e86\u95ee\u9898\uff1f\u600e\u4e48\u77e5\u9053\u662f\u54ea\u91cc\uff0c\u53ef\u4ee5\u67d0\u63d2\u4ef6\u51fa\u95ee\u9898\u4e86\uff1f\u6216\u8005\u600e\u4e48\u770b\u5230\u8be6\u7ec6\u7684\u51fa\u9519\u63d0\u793a\uff1f<\/p>\n<p>\u8c22\u8c22\uff01<\/p>\n<pre><code>{     \/\/ 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}\"         }     ] } <\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/20200519_5ec459070b534.jpg\" alt=\"\u53bb\u7684 vscode \u7a81\u7136\u4e0d\u80fd debug \u4e86\uff0c\u63d0\u793a\u6211 &quot;Breakpoint set but not yet bould\uff1f&quot; &quot;vs code unsupported&quot;\" \/> <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/20200519_5ec459075f626.jpg\" alt=\"\u53bb\u7684 vscode \u7a81\u7136\u4e0d\u80fd debug \u4e86\uff0c\u63d0\u793a\u6211 &quot;Breakpoint set but not yet bould\uff1f&quot; &quot;vs code unsupported&quot;\" \/><\/p>\n<p>https:\/\/i.postimg.cc\/yxJZwNJm\/PIC-20200413002.jpg<\/p>\n<p>https:\/\/i.postimg.cc\/PJBwhkZB\/PIC-20200413003.jpg<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1121617\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : yazoox <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6682\u65f6\u89e3\u51b3\u4e86! \u592a\u626f\u86cb\u4e86\u3002<\/p>\n<p>\u6211\u6709\u4e24\u53f0\u673a\u5668\uff0c\u521a\u624d\u51fa\u95ee\u9898\u7684\u662f\u5176\u4e2d\u4e00\u53f0 A\uff0c\u53e6\u5916\u4e00\u53f0\u673a\u5668 B \u662f\u597d\u7684\u3002<\/p>\n<p>\u4e8e\u662f\uff0c\u6211\u628a A \u4e0a\u9762\u7684 vscode \u5f7b\u5e95\u5220\u9664\uff0c\u5168\u65b0\u5b89\u88c5\u3002\u53ea\u5b89\u88c5 debug for chrome \u3002\u8fd8\u662f\u4e0d\u884c\u3002<\/p>\n<p>\u767e\u5ea6 \/google \u4e86\u4e00\u4e0b\uff0c\u8bd5\u4e86\u8bd5\u3002\u5c31\u6dfb\u52a0\u4e86 \/src \u3002\u7ed3\u679c\uff0c\u597d\u4e86\uff0cbreakpoint \u80fd\u591f\u6b63\u5e38\u5de5\u4f5c\u4e86\u3002<br \/>&#8220;`<br \/>&#8220;webRoot&#8221;: &#8220;${workspaceFolder}\/src&#8221;,<br \/>&#8220;`<\/p>\n<p>\u6211\u8981\u75af\u4e86\u3002\u4e3a\u4ec0\u4e48\u554a\uff1f<\/p>\n<p>\u4e24\u53f0\u673a\u5668\uff0c\u90fd\u662f\u4e0b\u8f7d\u7684\u8fd9\u4e2a comment-app \u672c\u6765\u90fd\u662f\u76f4\u63a5&#8221;webRoot&#8221;: &#8220;${workspaceFolder}&#8221;\u5c31\u80fd\u591f\u6b63\u5e38 debug<br \/>\u73b0\u5728\u5176\u4e2d\u4e00\u53f0\u5fc5\u987b\u8981\u6dfb\u52a0 \/src\uff0c\u53e6\u5916\u4e00\u53f0\u4e0d\u9700\u8981&#8230;.. <\/p>\n<p>\u8fd9\u592a\u626f\u86cb\u4e86\u5427\uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1121618\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : a852695 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             bug \u4e86\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1121619\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pomelotea2009 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e48\u590d\u6742\u7684\u95ee\u9898\uff0c\u5982\u679c\u641c\u7d20\u4e0d\u5230\u7b54\u6848\uff0c\u6700\u76f4\u63a5\u7684\u65b9\u5f0f\u5c31\u662f\u91cd\u5f00\u91cd\u542f\u91cd\u88c5\u4e09\u8fde [doge]                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u53bb\u7684 vscode \u7a81\u7136\u4e0d\u80fd de&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/93379"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=93379"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/93379\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=93379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=93379"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=93379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}