{"id":21252,"date":"2024-11-19T13:14:02","date_gmt":"2024-11-19T05:14:02","guid":{"rendered":"https:\/\/fwq.ai\/blog\/21252\/"},"modified":"2024-11-19T13:14:02","modified_gmt":"2024-11-19T05:14:02","slug":"vscode%e8%bf%90%e8%a1%8c%e9%94%ae%e5%9c%a8%e5%93%aa","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/21252\/","title":{"rendered":"vscode\u8fd0\u884c\u952e\u5728\u54ea"},"content":{"rendered":"<blockquote><p>\n  vs code \u4e2d\uff0c\u8fd0\u884c\u4ee3\u7801\u7684\u5feb\u6377\u952e\u4e3a\uff1amacos \u4e0a\u4e3a \u2318 + r\uff0cwindows\/linux \u4e0a\u4e3a ctrl + r\u3002\u5feb\u6377\u952e\u7684\u7ed1\u5b9a\u5c06 &#8220;workbench.action.debug.start&#8221; \u547d\u4ee4\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\uff1a\u8bc6\u522b\u6587\u4ef6\u7c7b\u578b\uff0c\u542f\u52a8\u8c03\u8bd5\u5668\u6216\u8fd0\u884c\u65f6\uff0c\u5728\u8c03\u8bd5\u63a7\u5236\u53f0\u4e2d\u8fd0\u884c\u4ee3\u7801\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202405\/15\/2024051504391626249.jpg\" class=\"aligncenter\" title=\"vscode\u8fd0\u884c\u952e\u5728\u54ea\u63d2\u56fe\" alt=\"vscode\u8fd0\u884c\u952e\u5728\u54ea\u63d2\u56fe\" \/><\/p>\n<p><strong>VS Code \u7684\u8fd0\u884c\u5feb\u6377\u952e<\/strong><\/p>\n<p>\u5728 Visual Studio Code (VS Code) \u4e2d\uff0c\u4f7f\u7528\u8fd0\u884c\u5feb\u6377\u952e\u53ef\u4ee5\u5feb\u901f\u4fbf\u6377\u5730\u8fd0\u884c\u4ee3\u7801\u3002<\/p>\n<p><strong>\u5feb\u6377\u952e\uff1a<\/strong><\/p>\n<table>\n<thead>\n<tr>\n<th>\u5e73\u53f0<\/th>\n<th>\u5feb\u6377\u952e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>macOS<\/td>\n<td>\u2318 + R<\/td>\n<\/tr>\n<tr>\n<td>Windows\/Linux<\/td>\n<td>Ctrl + R<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u8be6\u7ec6\u8bf4\u660e\uff1a<\/strong><\/p>\n<ol>\n<li> <strong>\u5b9a\u4e49\u8fd0\u884c\u547d\u4ee4\uff1a<\/strong>\u5728 VS Code \u4e2d\uff0c\u8fd0\u884c\u547d\u4ee4\u662f &#8220;workbench.action.debug.start&#8221;\u3002<\/li>\n<li> <strong>\u5feb\u6377\u952e\u7ed1\u5b9a\uff1a<\/strong>\u901a\u8fc7\u5feb\u6377\u952e\uff0c\u53ef\u4ee5\u5c06 &#8220;workbench.action.debug.start&#8221; \u547d\u4ee4\u7ed1\u5b9a\u5230\u6307\u5b9a\u7684\u952e\u7ec4\u5408\uff08macOS \u4e0a\u4e3a \u2318 + R\uff0cWindows\/Linux \u4e0a\u4e3a Ctrl + R\uff09\u3002<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u4ee3\u7801\uff1a<\/strong>\u5f53\u7528\u6237\u6309\u4e0b\u5feb\u6377\u952e\u65f6\uff0cVS Code \u4f1a\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\uff1a<\/p>\n<ul>\n<li>\u8bc6\u522b\u5f53\u524d\u6d3b\u52a8\u6587\u4ef6\u7c7b\u578b\u3002<\/li>\n<li>\u6839\u636e\u6587\u4ef6\u7c7b\u578b\u542f\u52a8\u76f8\u5e94\u7684\u8c03\u8bd5\u5668\u6216\u8fd0\u884c\u65f6\u3002<\/li>\n<li>\u5728\u8c03\u8bd5\u63a7\u5236\u53f0\u4e2d\u8fd0\u884c\u4ee3\u7801\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>\u5176\u4ed6\u8bf4\u660e\uff1a<\/strong><\/p>\n<ul>\n<li>\u5982\u679c\u4ee3\u7801\u4e2d\u6709\u65ad\u70b9\uff0c\u6309\u4f4f\u5feb\u6377\u952e\u7684\u540c\u65f6\u6309\u4e0b \u21e7\uff08Shift\uff09\u952e\uff0c\u53ef\u4ee5\u5728\u65ad\u70b9\u5904\u5f00\u59cb\u8c03\u8bd5\u3002<\/li>\n<li>\u5feb\u6377\u952e\u7684\u7ed1\u5b9a\u53ef\u4ee5\u5728 VS Code \u7684 &#8220;\u952e\u76d8\u5feb\u6377\u65b9\u5f0f&#8221; \u8bbe\u7f6e\u4e2d\u8fdb\u884c\u81ea\u5b9a\u4e49\u3002<\/li>\n<li>\u9664\u4e86\u4f7f\u7528\u5feb\u6377\u952e\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7\u8c03\u8bd5\u83dc\u5355\u6216\u8c03\u8bd5\u5de5\u5177\u680f\u6309\u94ae\u8fd0\u884c\u4ee3\u7801\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u8fd0\u884c\u952e\u5728\u54ea\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>vs code \u4e2d\uff0c\u8fd0\u884c\u4ee3\u7801\u7684\u5feb\u6377\u952e\u4e3a\uff1amacos \u4e0a\u4e3a \u2318 + r\uff0cwindows\/linux \u4e0a\u4e3a ctrl + r\u3002\u5feb\u6377\u952e\u7684\u7ed1\u5b9a\u5c06 &#8220;workbench.action.debug.start&#8221; \u547d\u4ee4\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\uff1a\u8bc6\u522b\u6587\u4ef6\u7c7b\u578b\uff0c\u542f\u52a8\u8c03\u8bd5\u5668\u6216\u8fd0\u884c\u65f6\uff0c\u5728\u8c03\u8bd5\u63a7\u5236\u53f0\u4e2d\u8fd0\u884c\u4ee3\u7801\u3002 VS Code \u7684\u8fd0\u884c\u5feb\u6377\u952e \u5728 Visual Studio Code (VS Code) \u4e2d\uff0c\u4f7f\u7528\u8fd0\u884c\u5feb\u6377\u952e\u53ef\u4ee5\u5feb\u901f\u4fbf\u6377\u5730\u8fd0\u884c\u4ee3\u7801\u3002 \u5feb\u6377\u952e\uff1a \u5e73\u53f0 \u5feb\u6377\u952e macOS \u2318 + R Windows\/Linux Ctrl + R \u8be6\u7ec6\u8bf4\u660e\uff1a \u5b9a\u4e49\u8fd0\u884c\u547d\u4ee4\uff1a\u5728 VS Code \u4e2d\uff0c\u8fd0\u884c\u547d\u4ee4\u662f &#8220;workbench.action.debug.start&#8221;\u3002 \u5feb\u6377\u952e\u7ed1\u5b9a\uff1a\u901a\u8fc7\u5feb\u6377\u952e\uff0c\u53ef\u4ee5\u5c06 &#8220;workbench.action.debug.start&#8221; \u547d\u4ee4\u7ed1\u5b9a\u5230\u6307\u5b9a\u7684\u952e\u7ec4\u5408\uff08macOS \u4e0a\u4e3a \u2318 + R\uff0cWindows\/Linux \u4e0a\u4e3a Ctrl + R\uff09\u3002 \u8fd0\u884c\u4ee3\u7801\uff1a\u5f53\u7528\u6237\u6309\u4e0b\u5feb\u6377\u952e\u65f6\uff0cVS Code \u4f1a\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\uff1a \u8bc6\u522b\u5f53\u524d\u6d3b\u52a8\u6587\u4ef6\u7c7b\u578b\u3002 [&hellip;]<\/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-21252","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21252","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=21252"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21252\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=21252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=21252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=21252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}