{"id":20530,"date":"2024-11-19T14:39:20","date_gmt":"2024-11-19T06:39:20","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20530\/"},"modified":"2024-11-19T14:39:20","modified_gmt":"2024-11-19T06:39:20","slug":"vscode%e5%86%99%e7%9a%84%e4%bb%a3%e7%a0%81%e6%80%8e%e4%b9%88%e8%bf%90%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20530\/","title":{"rendered":"vscode\u5199\u7684\u4ee3\u7801\u600e\u4e48\u8fd0\u884c"},"content":{"rendered":"<blockquote><p>\n  \u5728 vscode \u4e2d\u8fd0\u884c\u4ee3\u7801\u7684\u65b9\u5f0f\uff1a\u6253\u5f00\u6587\u4ef6\u6839\u636e\u8bed\u8a00\u9009\u62e9\u8fd0\u884c\u6a21\u5f0f\uff08\u4f8b\u5982 node.js \u6309 f5\uff0cpython \u6309 ctrl+f5\uff09\u9a8c\u8bc1\u8f93\u51fa\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/03\/2024040304091930397.jpg\" class=\"aligncenter\" title=\"vscode\u5199\u7684\u4ee3\u7801\u600e\u4e48\u8fd0\u884c\u63d2\u56fe\" alt=\"vscode\u5199\u7684\u4ee3\u7801\u600e\u4e48\u8fd0\u884c\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5728 VSCode \u4e2d\u8fd0\u884c\u4ee3\u7801<\/strong><\/p>\n<p>\u5728 VSCode \u4e2d\u8fd0\u884c\u4ee3\u7801\u975e\u5e38\u7b80\u5355\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\uff1a<\/p>\n<p><strong>1. \u6253\u5f00\u6587\u4ef6\uff1a<\/strong><\/p>\n<ul>\n<li>\u6253\u5f00\u5305\u542b\u8981\u8fd0\u884c\u4ee3\u7801\u7684\u6587\u4ef6\u3002<\/li>\n<li>\u5982\u679c\u5c1a\u672a\u6253\u5f00\u6587\u4ef6\uff0c\u8bf7\u5355\u51fb\u201c\u6587\u4ef6\u201d\u83dc\u5355\u5e76\u9009\u62e9\u201c\u6253\u5f00\u201d\u6216\u201c\u6253\u5f00\u6587\u4ef6\u5939\u201d\u3002<\/li>\n<\/ul>\n<p><strong>2. \u9009\u62e9\u8fd0\u884c\u6a21\u5f0f\uff1a<\/strong><\/p>\n<ul>\n<li>\u5982\u679c\u8be5\u6587\u4ef6\u662f Node.js \u811a\u672c\uff0c\u8bf7\u6309 <strong>F5<\/strong>\u3002<\/li>\n<li>\u5982\u679c\u8be5\u6587\u4ef6\u662f Python \u811a\u672c\uff0c\u8bf7\u6309 <strong>Ctrl+F5<\/strong> \u6216 <strong>Shift+F5<\/strong>\uff08\u8c03\u8bd5\uff09\u3002<\/li>\n<li>\u5bf9\u4e8e\u5176\u4ed6\u8bed\u8a00\uff0c\u8bf7\u6309 <strong>F1<\/strong>\uff08\u547d\u4ee4\u9762\u677f\uff09\u5e76\u8f93\u5165\u201c\u8fd0\u884c\u201d\u6216\u9009\u62e9\u9002\u5f53\u7684\u6269\u5c55\u540d\u3002<\/li>\n<\/ul>\n<p><strong>3. \u9a8c\u8bc1\u8f93\u51fa\uff1a<\/strong><\/p>\n<ul>\n<li>\u8fd0\u884c\u4ee3\u7801\u540e\uff0c\u8f93\u51fa\u5c06\u663e\u793a\u5728\u201c\u7ec8\u7aef\u201d\u9762\u677f\u4e2d\u3002<\/li>\n<li>\u60a8\u53ef\u4ee5\u4f7f\u7528\u201c\u7ec8\u7aef\u201d\u9762\u677f\u6765\u67e5\u770b\u8fd0\u884c\u7ed3\u679c\u3001\u9519\u8bef\u6d88\u606f\u6216\u5176\u4ed6\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<p><strong>\u5176\u4ed6\u65b9\u5f0f\uff1a<\/strong><\/p>\n<ul>\n<li> <strong>\u53f3\u952e\u5355\u51fb\u6587\u4ef6\uff1a<\/strong>\u5728\u6587\u4ef6\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u53f3\u952e\u5355\u51fb\u6587\u4ef6\uff0c\u7136\u540e\u9009\u62e9\u201c\u8fd0\u884c\u4ee3\u7801\u201d\u3002<\/li>\n<li> <strong>\u4f7f\u7528\u83dc\u5355\u680f\uff1a<\/strong>\u5355\u51fb\u201c\u8fd0\u884c\u201d\u83dc\u5355\u5e76\u9009\u62e9\u9002\u5f53\u7684\u9009\u9879\u3002<\/li>\n<li> <strong>\u4f7f\u7528\u547d\u4ee4\u9762\u677f\uff1a<\/strong>\u6309 <strong>F1<\/strong> \u5e76\u8f93\u5165\u201c\u8fd0\u884c\u201d\uff0c\u7136\u540e\u9009\u62e9\u9002\u5f53\u7684\u9009\u9879\u3002<\/li>\n<\/ul>\n<p><strong>\u63d0\u793a\uff1a<\/strong><\/p>\n<ul>\n<li>\u786e\u4fdd\u5df2\u6b63\u786e\u8bbe\u7f6e\u8bed\u8a00\u73af\u5883\u5e76\u5b89\u88c5\u4e86\u5fc5\u8981\u7684\u6269\u5c55\u3002<\/li>\n<li>\u5982\u679c\u9047\u5230\u4efb\u4f55\u9519\u8bef\uff0c\u8bf7\u68c0\u67e5\u4ee3\u7801\u548c\u8bbe\u7f6e\u3002<\/li>\n<li>\u53ef\u4ee5\u4f7f\u7528\u8c03\u8bd5\u5668\u6765\u9010\u6b65\u6267\u884c\u4ee3\u7801\u5e76\u8bc6\u522b\u95ee\u9898\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5199\u7684\u4ee3\u7801\u600e\u4e48\u8fd0\u884c\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 vscode \u4e2d\u8fd0\u884c\u4ee3\u7801\u7684\u65b9\u5f0f\uff1a\u6253\u5f00\u6587\u4ef6\u6839\u636e\u8bed\u8a00\u9009\u62e9\u8fd0\u884c\u6a21\u5f0f\uff08\u4f8b\u5982 node.js \u6309 f5\uff0cpython \u6309 ctrl+f5\uff09\u9a8c\u8bc1\u8f93\u51fa \u5728 VSCode \u4e2d\u8fd0\u884c\u4ee3\u7801 \u5728 VSCode \u4e2d\u8fd0\u884c\u4ee3\u7801\u975e\u5e38\u7b80\u5355\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\uff1a 1. \u6253\u5f00\u6587\u4ef6\uff1a \u6253\u5f00\u5305\u542b\u8981\u8fd0\u884c\u4ee3\u7801\u7684\u6587\u4ef6\u3002 \u5982\u679c\u5c1a\u672a\u6253\u5f00\u6587\u4ef6\uff0c\u8bf7\u5355\u51fb\u201c\u6587\u4ef6\u201d\u83dc\u5355\u5e76\u9009\u62e9\u201c\u6253\u5f00\u201d\u6216\u201c\u6253\u5f00\u6587\u4ef6\u5939\u201d\u3002 2. \u9009\u62e9\u8fd0\u884c\u6a21\u5f0f\uff1a \u5982\u679c\u8be5\u6587\u4ef6\u662f Node.js \u811a\u672c\uff0c\u8bf7\u6309 F5\u3002 \u5982\u679c\u8be5\u6587\u4ef6\u662f Python \u811a\u672c\uff0c\u8bf7\u6309 Ctrl+F5 \u6216 Shift+F5\uff08\u8c03\u8bd5\uff09\u3002 \u5bf9\u4e8e\u5176\u4ed6\u8bed\u8a00\uff0c\u8bf7\u6309 F1\uff08\u547d\u4ee4\u9762\u677f\uff09\u5e76\u8f93\u5165\u201c\u8fd0\u884c\u201d\u6216\u9009\u62e9\u9002\u5f53\u7684\u6269\u5c55\u540d\u3002 3. \u9a8c\u8bc1\u8f93\u51fa\uff1a \u8fd0\u884c\u4ee3\u7801\u540e\uff0c\u8f93\u51fa\u5c06\u663e\u793a\u5728\u201c\u7ec8\u7aef\u201d\u9762\u677f\u4e2d\u3002 \u60a8\u53ef\u4ee5\u4f7f\u7528\u201c\u7ec8\u7aef\u201d\u9762\u677f\u6765\u67e5\u770b\u8fd0\u884c\u7ed3\u679c\u3001\u9519\u8bef\u6d88\u606f\u6216\u5176\u4ed6\u4fe1\u606f\u3002 \u5176\u4ed6\u65b9\u5f0f\uff1a \u53f3\u952e\u5355\u51fb\u6587\u4ef6\uff1a\u5728\u6587\u4ef6\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u53f3\u952e\u5355\u51fb\u6587\u4ef6\uff0c\u7136\u540e\u9009\u62e9\u201c\u8fd0\u884c\u4ee3\u7801\u201d\u3002 \u4f7f\u7528\u83dc\u5355\u680f\uff1a\u5355\u51fb\u201c\u8fd0\u884c\u201d\u83dc\u5355\u5e76\u9009\u62e9\u9002\u5f53\u7684\u9009\u9879\u3002 \u4f7f\u7528\u547d\u4ee4\u9762\u677f\uff1a\u6309 F1 \u5e76\u8f93\u5165\u201c\u8fd0\u884c\u201d\uff0c\u7136\u540e\u9009\u62e9\u9002\u5f53\u7684\u9009\u9879\u3002 \u63d0\u793a\uff1a \u786e\u4fdd\u5df2\u6b63\u786e\u8bbe\u7f6e\u8bed\u8a00\u73af\u5883\u5e76\u5b89\u88c5\u4e86\u5fc5\u8981\u7684\u6269\u5c55\u3002 \u5982\u679c\u9047\u5230\u4efb\u4f55\u9519\u8bef\uff0c\u8bf7\u68c0\u67e5\u4ee3\u7801\u548c\u8bbe\u7f6e\u3002 \u53ef\u4ee5\u4f7f\u7528\u8c03\u8bd5\u5668\u6765\u9010\u6b65\u6267\u884c\u4ee3\u7801\u5e76\u8bc6\u522b\u95ee\u9898\u3002 \u4ee5\u4e0a\u5c31\u662f\u5199\u7684\u4ee3\u7801\u600e\u4e48\u8fd0\u884c\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-20530","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=20530"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20530\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}