{"id":1163418,"date":"2025-01-15T14:55:02","date_gmt":"2025-01-15T06:55:02","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1163418.html"},"modified":"2025-01-15T14:55:05","modified_gmt":"2025-01-15T06:55:05","slug":"vscode%e5%a6%82%e4%bd%95%e5%af%b9python%e8%bf%9b%e8%a1%8c%e8%b0%83%e8%af%95","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1163418.html","title":{"rendered":"vscode\u5982\u4f55\u5bf9python\u8fdb\u884c\u8c03\u8bd5"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25204202\/1b11c8cf-a9b6-4429-8ea1-63cd4d39df25.webp\" alt=\"vscode\u5982\u4f55\u5bf9python\u8fdb\u884c\u8c03\u8bd5\" \/><\/p>\n<p><p> <strong>VSCode\u5bf9Python\u8fdb\u884c\u8c03\u8bd5\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u5185\u7f6e\u8c03\u8bd5\u5668\u3001\u8bbe\u7f6e\u65ad\u70b9\u3001\u4f7f\u7528\u8c03\u8bd5\u63a7\u5236\u53f0\u3001\u914d\u7f6elaunch.json\u6587\u4ef6<\/strong>\u3002\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u9ad8\u6548\u5730\u6392\u67e5\u548c\u89e3\u51b3\u4ee3\u7801\u4e2d\u7684\u95ee\u9898\u3002\u5177\u4f53\u6765\u8bf4\uff0c<strong>\u5185\u7f6e\u8c03\u8bd5\u5668<\/strong>\u662fVSCode\u63d0\u4f9b\u7684\u5f3a\u5927\u5de5\u5177\uff0c\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u5728\u4ee3\u7801\u8fd0\u884c\u65f6\u8fdb\u884c\u9010\u884c\u8c03\u8bd5\uff0c\u5e76\u67e5\u770b\u53d8\u91cf\u7684\u72b6\u6001\u548c\u8f93\u51fa\u3002\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528VSCode\u5bf9Python\u8fdb\u884c\u8c03\u8bd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5185\u7f6e\u8c03\u8bd5\u5668<\/h3>\n<\/p>\n<p><p>VSCode\u7684\u5185\u7f6e\u8c03\u8bd5\u5668\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5728\u4ee3\u7801\u8fd0\u884c\u8fc7\u7a0b\u4e2d\u9010\u884c\u8c03\u8bd5\uff0c\u67e5\u770b\u53d8\u91cf\u7684\u72b6\u6001\u548c\u8f93\u51fa\u3002\u5b83\u652f\u6301\u591a\u79cd\u8c03\u8bd5\u64cd\u4f5c\uff0c\u5982\u5355\u6b65\u6267\u884c\u3001\u7ee7\u7eed\u8fd0\u884c\u3001\u67e5\u770b\u53d8\u91cf\u3001\u8c03\u7528\u5806\u6808\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u542f\u52a8\u8c03\u8bd5<\/strong><\/p>\n<\/p>\n<p><p>\u5728VSCode\u4e2d\u6253\u5f00Python\u6587\u4ef6\uff0c\u70b9\u51fb\u5de6\u4fa7\u6d3b\u52a8\u680f\u4e2d\u7684\u201c\u8fd0\u884c\u548c\u8c03\u8bd5\u201d\u56fe\u6807\uff0c\u6216\u8005\u4f7f\u7528\u5feb\u6377\u952e<code>F5<\/code>\u542f\u52a8\u8c03\u8bd5\u3002VSCode\u4f1a\u81ea\u52a8\u68c0\u6d4b\u5f53\u524d\u7684Python\u73af\u5883\uff0c\u5e76\u5f00\u59cb\u8c03\u8bd5\u4f1a\u8bdd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u65ad\u70b9<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u4ee3\u7801\u7f16\u8f91\u5668\u4e2d\uff0c\u70b9\u51fb\u884c\u53f7\u5de6\u4fa7\u7684\u7070\u8272\u533a\u57df\uff0c\u5373\u53ef\u8bbe\u7f6e\u65ad\u70b9\u3002\u65ad\u70b9\u662f\u7a0b\u5e8f\u6682\u505c\u6267\u884c\u7684\u5730\u65b9\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u68c0\u67e5\u4ee3\u7801\u7684\u72b6\u6001\u3002\u5728\u8c03\u8bd5\u8fc7\u7a0b\u4e2d\uff0c\u5f53\u7a0b\u5e8f\u6267\u884c\u5230\u65ad\u70b9\u65f6\uff0c\u4f1a\u81ea\u52a8\u6682\u505c\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u68c0\u67e5\u53d8\u91cf\u503c\u548c\u8c03\u7528\u5806\u6808\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8c03\u8bd5\u63a7\u5236\u53f0<\/strong><\/p>\n<\/p>\n<p><p>\u8c03\u8bd5\u63a7\u5236\u53f0\u662f\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u5de5\u5177\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u5728\u7a0b\u5e8f\u6682\u505c\u65f6\u8f93\u5165Python\u4ee3\u7801\u5e76\u67e5\u770b\u7ed3\u679c\u3002\u53ef\u4ee5\u5728\u8c03\u8bd5\u63a7\u5236\u53f0\u4e2d\u67e5\u770b\u548c\u4fee\u6539\u53d8\u91cf\u503c\uff0c\u8c03\u7528\u51fd\u6570\uff0c\u751a\u81f3\u6267\u884c\u4efb\u610f\u4ee3\u7801\u7247\u6bb5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u8bbe\u7f6e\u65ad\u70b9<\/h3>\n<\/p>\n<p><p>\u65ad\u70b9\u662f\u8c03\u8bd5\u8fc7\u7a0b\u4e2d\u975e\u5e38\u91cd\u8981\u7684\u5de5\u5177\uff0c\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u5728\u7279\u5b9a\u7684\u4ee3\u7801\u884c\u6682\u505c\u7a0b\u5e8f\u7684\u6267\u884c\uff0c\u4ee5\u4fbf\u68c0\u67e5\u4ee3\u7801\u7684\u72b6\u6001\u3002VSCode\u652f\u6301\u591a\u79cd\u7c7b\u578b\u7684\u65ad\u70b9\uff0c\u5982\u6761\u4ef6\u65ad\u70b9\u3001\u65e5\u5fd7\u65ad\u70b9\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u666e\u901a\u65ad\u70b9<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u4ee3\u7801\u7f16\u8f91\u5668\u4e2d\uff0c\u70b9\u51fb\u884c\u53f7\u5de6\u4fa7\u7684\u7070\u8272\u533a\u57df\u5373\u53ef\u8bbe\u7f6e\u666e\u901a\u65ad\u70b9\u3002\u5f53\u7a0b\u5e8f\u6267\u884c\u5230\u65ad\u70b9\u6240\u5728\u7684\u884c\u65f6\uff0c\u4f1a\u81ea\u52a8\u6682\u505c\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u68c0\u67e5\u53d8\u91cf\u503c\u548c\u8c03\u7528\u5806\u6808\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6761\u4ef6\u65ad\u70b9<\/strong><\/p>\n<\/p>\n<p><p>\u53f3\u952e\u70b9\u51fb\u65ad\u70b9\u56fe\u6807\uff0c\u9009\u62e9\u201c\u7f16\u8f91\u65ad\u70b9\u6761\u4ef6\u201d\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u6761\u4ef6\u65ad\u70b9\u3002\u6761\u4ef6\u65ad\u70b9\u53ea\u5728\u7279\u5b9a\u6761\u4ef6\u6ee1\u8db3\u65f6\u624d\u4f1a\u751f\u6548\uff0c\u9002\u7528\u4e8e\u9700\u8981\u5728\u7279\u5b9a\u60c5\u51b5\u4e0b\u6682\u505c\u7a0b\u5e8f\u7684\u573a\u666f\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u4e00\u4e2a\u6761\u4ef6\u65ad\u70b9\uff0c\u5f53\u53d8\u91cf<code>x<\/code>\u7684\u503c\u5927\u4e8e10\u65f6\u6682\u505c\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u65e5\u5fd7\u65ad\u70b9<\/strong><\/p>\n<\/p>\n<p><p>\u53f3\u952e\u70b9\u51fb\u65ad\u70b9\u56fe\u6807\uff0c\u9009\u62e9\u201c\u7f16\u8f91\u65ad\u70b9\u65e5\u5fd7\u6d88\u606f\u201d\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u65e5\u5fd7\u65ad\u70b9\u3002\u65e5\u5fd7\u65ad\u70b9\u4e0d\u4f1a\u6682\u505c\u7a0b\u5e8f\u7684\u6267\u884c\uff0c\u800c\u662f\u4f1a\u5728\u6ee1\u8db3\u7279\u5b9a\u6761\u4ef6\u65f6\u8f93\u51fa\u4e00\u6761\u65e5\u5fd7\u6d88\u606f\u3002\u9002\u7528\u4e8e\u9700\u8981\u8bb0\u5f55\u7a0b\u5e8f\u8fd0\u884c\u72b6\u6001\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u8c03\u8bd5\u63a7\u5236\u53f0<\/h3>\n<\/p>\n<p><p>\u8c03\u8bd5\u63a7\u5236\u53f0\u662f\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u5de5\u5177\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u5728\u7a0b\u5e8f\u6682\u505c\u65f6\u8f93\u5165Python\u4ee3\u7801\u5e76\u67e5\u770b\u7ed3\u679c\u3002\u8c03\u8bd5\u63a7\u5236\u53f0\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5b9e\u65f6\u68c0\u67e5\u548c\u4fee\u6539\u53d8\u91cf\u503c\uff0c\u8c03\u7528\u51fd\u6570\uff0c\u751a\u81f3\u6267\u884c\u4efb\u610f\u4ee3\u7801\u7247\u6bb5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u67e5\u770b\u53d8\u91cf<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u8c03\u8bd5\u63a7\u5236\u53f0\u4e2d\u8f93\u5165\u53d8\u91cf\u540d\uff0c\u53ef\u4ee5\u67e5\u770b\u53d8\u91cf\u7684\u5f53\u524d\u503c\u3002\u4f8b\u5982\uff0c\u8f93\u5165<code>x<\/code>\u53ef\u4ee5\u67e5\u770b\u53d8\u91cf<code>x<\/code>\u7684\u503c\u3002\u5982\u679c\u53d8\u91cf\u662f\u4e00\u4e2a\u590d\u6742\u7684\u6570\u636e\u7ed3\u6784\uff0c\u5982\u5217\u8868\u6216\u5b57\u5178\uff0c\u53ef\u4ee5\u4f7f\u7528<code>print<\/code>\u51fd\u6570\u6216\u5176\u4ed6\u5185\u7f6e\u51fd\u6570\u67e5\u770b\u5176\u5185\u5bb9\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4fee\u6539\u53d8\u91cf<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u8c03\u8bd5\u63a7\u5236\u53f0\u4e2d\u8f93\u5165\u8d4b\u503c\u8bed\u53e5\uff0c\u53ef\u4ee5\u4fee\u6539\u53d8\u91cf\u7684\u503c\u3002\u4f8b\u5982\uff0c\u8f93\u5165<code>x = 10<\/code>\u53ef\u4ee5\u5c06\u53d8\u91cf<code>x<\/code>\u7684\u503c\u4fee\u6539\u4e3a10\u3002\u4fee\u6539\u53d8\u91cf\u7684\u503c\u540e\uff0c\u53ef\u4ee5\u7ee7\u7eed\u6267\u884c\u7a0b\u5e8f\uff0c\u89c2\u5bdf\u4fee\u6539\u5bf9\u7a0b\u5e8f\u8fd0\u884c\u7684\u5f71\u54cd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8c03\u7528\u51fd\u6570<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u8c03\u8bd5\u63a7\u5236\u53f0\u4e2d\u8f93\u5165\u51fd\u6570\u8c03\u7528\u8bed\u53e5\uff0c\u53ef\u4ee5\u8c03\u7528\u51fd\u6570\u5e76\u67e5\u770b\u5176\u8fd4\u56de\u503c\u3002\u4f8b\u5982\uff0c\u8f93\u5165<code>my_function()<\/code>\u53ef\u4ee5\u8c03\u7528\u51fd\u6570<code>my_function<\/code>\u5e76\u67e5\u770b\u5176\u8fd4\u56de\u503c\u3002\u5982\u679c\u51fd\u6570\u6709\u53c2\u6570\uff0c\u53ef\u4ee5\u5728\u8c03\u8bd5\u63a7\u5236\u53f0\u4e2d\u8f93\u5165\u5e26\u53c2\u6570\u7684\u51fd\u6570\u8c03\u7528\u8bed\u53e5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u914d\u7f6elaunch.json\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>launch.json\u6587\u4ef6\u662fVSCode\u7684\u8c03\u8bd5\u914d\u7f6e\u6587\u4ef6\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u81ea\u5b9a\u4e49\u8c03\u8bd5\u8bbe\u7f6e\u3002\u901a\u8fc7\u914d\u7f6elaunch.json\u6587\u4ef6\uff0c\u53ef\u4ee5\u66f4\u7075\u6d3b\u5730\u63a7\u5236\u8c03\u8bd5\u8fc7\u7a0b\uff0c\u5982\u6307\u5b9a\u8c03\u8bd5\u53c2\u6570\u3001\u73af\u5883\u53d8\u91cf\u3001\u5de5\u4f5c\u76ee\u5f55\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efalaunch.json\u6587\u4ef6<\/strong><\/p>\n<\/p>\n<p><p>\u5728VSCode\u4e2d\u6253\u5f00\u8c03\u8bd5\u89c6\u56fe\uff0c\u70b9\u51fb\u9f7f\u8f6e\u56fe\u6807\uff0c\u9009\u62e9\u201c\u6dfb\u52a0\u914d\u7f6e\u201d\u9009\u9879\uff0c\u9009\u62e9Python\u8c03\u8bd5\u73af\u5883\u3002VSCode\u4f1a\u81ea\u52a8\u751f\u6210\u4e00\u4e2alaunch.json\u6587\u4ef6\uff0c\u5e76\u6dfb\u52a0\u9ed8\u8ba4\u7684\u8c03\u8bd5\u914d\u7f6e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6e\u8c03\u8bd5\u53c2\u6570<\/strong><\/p>\n<\/p>\n<p><p>\u5728launch.json\u6587\u4ef6\u4e2d\uff0c\u53ef\u4ee5\u914d\u7f6e\u8c03\u8bd5\u53c2\u6570\uff0c\u5982program\u3001args\u3001env\u7b49\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e<code>&quot;program&quot;: &quot;${file}&quot;<\/code>\u6307\u5b9a\u8981\u8c03\u8bd5\u7684Python\u6587\u4ef6\uff0c\u901a\u8fc7\u8bbe\u7f6e<code>&quot;args&quot;: [&quot;arg1&quot;, &quot;arg2&quot;]<\/code>\u6307\u5b9a\u8c03\u8bd5\u65f6\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<\/strong><\/p>\n<\/p>\n<p><p>\u5728launch.json\u6587\u4ef6\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e<code>&quot;env&quot;: {&quot;VAR1&quot;: &quot;value1&quot;, &quot;VAR2&quot;: &quot;value2&quot;}<\/code>\u6307\u5b9a\u8c03\u8bd5\u65f6\u7684\u73af\u5883\u53d8\u91cf\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u8bbe\u7f6e<code>&quot;env&quot;: {&quot;PYTHONPATH&quot;: &quot;\/path\/to\/lib&quot;}<\/code>\u6307\u5b9aPython\u5e93\u7684\u641c\u7d22\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6307\u5b9a\u5de5\u4f5c\u76ee\u5f55<\/strong><\/p>\n<\/p>\n<p><p>\u5728launch.json\u6587\u4ef6\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e<code>&quot;cwd&quot;: &quot;${workspaceFolder}&quot;<\/code>\u6307\u5b9a\u8c03\u8bd5\u65f6\u7684\u5de5\u4f5c\u76ee\u5f55\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u8bbe\u7f6e<code>&quot;cwd&quot;: &quot;\/path\/to\/workspace&quot;<\/code>\u6307\u5b9a\u5de5\u4f5c\u76ee\u5f55\u4e3a\u7279\u5b9a\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u8c03\u8bd5\u6280\u5de7\u548c\u6700\u4f73\u5b9e\u8df5<\/h3>\n<\/p>\n<p><p>\u5728\u4f7f\u7528VSCode\u8c03\u8bd5Python\u4ee3\u7801\u65f6\uff0c\u6709\u4e00\u4e9b\u6280\u5de7\u548c\u6700\u4f73\u5b9e\u8df5\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u9ad8\u6548\u5730\u8fdb\u884c\u8c03\u8bd5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5584\u7528\u65ad\u70b9<\/strong><\/p>\n<\/p>\n<p><p>\u65ad\u70b9\u662f\u8c03\u8bd5\u8fc7\u7a0b\u4e2d\u975e\u5e38\u91cd\u8981\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5728\u7279\u5b9a\u7684\u4ee3\u7801\u884c\u6682\u505c\u7a0b\u5e8f\u7684\u6267\u884c\u3002\u5584\u7528\u65ad\u70b9\uff0c\u53ef\u4ee5\u5feb\u901f\u5b9a\u4f4d\u95ee\u9898\uff0c\u68c0\u67e5\u4ee3\u7801\u7684\u72b6\u6001\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8c03\u8bd5\u5c0f\u6b65\u8d70<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u8c03\u8bd5\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u9010\u884c\u6267\u884c\uff08Step Over\uff09\u3001\u8fdb\u5165\u51fd\u6570\uff08Step Into\uff09\u3001\u8df3\u51fa\u51fd\u6570\uff08Step Out\uff09\u7b49\u64cd\u4f5c\uff0c\u9010\u6b65\u6267\u884c\u4ee3\u7801\uff0c\u68c0\u67e5\u53d8\u91cf\u503c\u548c\u8c03\u7528\u5806\u6808\u3002\u8c03\u8bd5\u5c0f\u6b65\u8d70\uff0c\u53ef\u4ee5\u66f4\u7ec6\u81f4\u5730\u68c0\u67e5\u4ee3\u7801\uff0c\u53d1\u73b0\u6f5c\u5728\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u770b\u8c03\u7528\u5806\u6808<\/strong><\/p>\n<\/p>\n<p><p>\u8c03\u7528\u5806\u6808\u662f\u8c03\u8bd5\u8fc7\u7a0b\u4e2d\u975e\u5e38\u91cd\u8981\u7684\u4fe1\u606f\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u4e86\u89e3\u51fd\u6570\u8c03\u7528\u7684\u5c42\u6b21\u7ed3\u6784\u3002\u5728\u8c03\u8bd5\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u8c03\u8bd5\u89c6\u56fe\u67e5\u770b\u8c03\u7528\u5806\u6808\uff0c\u4e86\u89e3\u7a0b\u5e8f\u7684\u6267\u884c\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u8c03\u8bd5\u63a7\u5236\u53f0<\/strong><\/p>\n<\/p>\n<p><p>\u8c03\u8bd5\u63a7\u5236\u53f0\u662f\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u5de5\u5177\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u5728\u7a0b\u5e8f\u6682\u505c\u65f6\u8f93\u5165Python\u4ee3\u7801\u5e76\u67e5\u770b\u7ed3\u679c\u3002\u4f7f\u7528\u8c03\u8bd5\u63a7\u5236\u53f0\uff0c\u53ef\u4ee5\u5b9e\u65f6\u68c0\u67e5\u548c\u4fee\u6539\u53d8\u91cf\u503c\uff0c\u8c03\u7528\u51fd\u6570\uff0c\u751a\u81f3\u6267\u884c\u4efb\u610f\u4ee3\u7801\u7247\u6bb5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6elaunch.json\u6587\u4ef6<\/strong><\/p>\n<\/p>\n<p><p>launch.json\u6587\u4ef6\u662fVSCode\u7684\u8c03\u8bd5\u914d\u7f6e\u6587\u4ef6\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u81ea\u5b9a\u4e49\u8c03\u8bd5\u8bbe\u7f6e\u3002\u901a\u8fc7\u914d\u7f6elaunch.json\u6587\u4ef6\uff0c\u53ef\u4ee5\u66f4\u7075\u6d3b\u5730\u63a7\u5236\u8c03\u8bd5\u8fc7\u7a0b\uff0c\u5982\u6307\u5b9a\u8c03\u8bd5\u53c2\u6570\u3001\u73af\u5883\u53d8\u91cf\u3001\u5de5\u4f5c\u76ee\u5f55\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u516d\u3001\u5e38\u89c1\u8c03\u8bd5\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848<\/h3>\n<\/p>\n<p><p>\u5728\u4f7f\u7528VSCode\u8c03\u8bd5Python\u4ee3\u7801\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\u3002\u4e86\u89e3\u8fd9\u4e9b\u95ee\u9898\u53ca\u5176\u89e3\u51b3\u65b9\u6848\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u9ad8\u6548\u5730\u8fdb\u884c\u8c03\u8bd5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u65e0\u6cd5\u542f\u52a8\u8c03\u8bd5<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u65e0\u6cd5\u542f\u52a8\u8c03\u8bd5\uff0c\u53ef\u80fd\u662f\u7531\u4e8ePython\u73af\u5883\u914d\u7f6e\u4e0d\u6b63\u786e\u3002\u53ef\u4ee5\u68c0\u67e5Python\u73af\u5883\u914d\u7f6e\uff0c\u786e\u4fdd\u5df2\u5b89\u88c5Python\u6269\u5c55\uff0c\u5e76\u9009\u62e9\u6b63\u786e\u7684Python\u89e3\u91ca\u5668\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u65ad\u70b9\u65e0\u6548<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u65ad\u70b9\u65e0\u6548\uff0c\u53ef\u80fd\u662f\u7531\u4e8e\u4ee3\u7801\u4f18\u5316\u6216\u7f13\u5b58\u5bfc\u81f4\u3002\u53ef\u4ee5\u5c1d\u8bd5\u6e05\u9664\u7f13\u5b58\uff0c\u91cd\u65b0\u7f16\u8bd1\u4ee3\u7801\uff0c\u6216\u8005\u5728\u4ee3\u7801\u4e2d\u6dfb\u52a0\u8c03\u8bd5\u8bed\u53e5\uff0c\u5982<code>print<\/code>\uff0c\u4ee5\u786e\u4fdd\u65ad\u70b9\u751f\u6548\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8c03\u8bd5\u63a7\u5236\u53f0\u65e0\u6cd5\u8f93\u5165<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u8c03\u8bd5\u63a7\u5236\u53f0\u65e0\u6cd5\u8f93\u5165\uff0c\u53ef\u80fd\u662f\u7531\u4e8e\u8c03\u8bd5\u4f1a\u8bdd\u672a\u6682\u505c\u3002\u53ef\u4ee5\u68c0\u67e5\u65ad\u70b9\u8bbe\u7f6e\uff0c\u786e\u4fdd\u7a0b\u5e8f\u5728\u65ad\u70b9\u5904\u6682\u505c\uff0c\u7136\u540e\u5728\u8c03\u8bd5\u63a7\u5236\u53f0\u4e2d\u8f93\u5165\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u73af\u5883\u53d8\u91cf\u672a\u751f\u6548<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u73af\u5883\u53d8\u91cf\u672a\u751f\u6548\uff0c\u53ef\u80fd\u662f\u7531\u4e8elaunch.json\u6587\u4ef6\u914d\u7f6e\u4e0d\u6b63\u786e\u3002\u53ef\u4ee5\u68c0\u67e5launch.json\u6587\u4ef6\u4e2d\u7684env\u914d\u7f6e\uff0c\u786e\u4fdd\u5df2\u6b63\u786e\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5de5\u4f5c\u76ee\u5f55\u4e0d\u6b63\u786e<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u5de5\u4f5c\u76ee\u5f55\u4e0d\u6b63\u786e\uff0c\u53ef\u80fd\u662f\u7531\u4e8elaunch.json\u6587\u4ef6\u914d\u7f6e\u4e0d\u6b63\u786e\u3002\u53ef\u4ee5\u68c0\u67e5launch.json\u6587\u4ef6\u4e2d\u7684cwd\u914d\u7f6e\uff0c\u786e\u4fdd\u5df2\u6b63\u786e\u8bbe\u7f6e\u5de5\u4f5c\u76ee\u5f55\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e03\u3001\u8c03\u8bd5\u590d\u6742\u9879\u76ee<\/h3>\n<\/p>\n<p><p>\u5728\u8c03\u8bd5\u590d\u6742\u9879\u76ee\u65f6\uff0c\u53ef\u80fd\u9700\u8981\u66f4\u9ad8\u7ea7\u7684\u8c03\u8bd5\u6280\u5de7\u548c\u5de5\u5177\u3002VSCode\u63d0\u4f9b\u4e86\u591a\u79cd\u9ad8\u7ea7\u8c03\u8bd5\u529f\u80fd\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u9ad8\u6548\u5730\u8c03\u8bd5\u590d\u6742\u9879\u76ee\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u591a\u7ebf\u7a0b\u8c03\u8bd5<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u8c03\u8bd5\u591a\u7ebf\u7a0b\u7a0b\u5e8f\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528VSCode\u7684\u591a\u7ebf\u7a0b\u8c03\u8bd5\u529f\u80fd\u3002VSCode\u652f\u6301\u591a\u7ebf\u7a0b\u8c03\u8bd5\uff0c\u53ef\u4ee5\u5728\u8c03\u8bd5\u89c6\u56fe\u4e2d\u67e5\u770b\u548c\u63a7\u5236\u5404\u4e2a\u7ebf\u7a0b\u7684\u72b6\u6001\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fdc\u7a0b\u8c03\u8bd5<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u8c03\u8bd5\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u7684\u4ee3\u7801\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528VSCode\u7684\u8fdc\u7a0b\u8c03\u8bd5\u529f\u80fd\u3002VSCode\u652f\u6301\u901a\u8fc7SSH\u8fde\u63a5\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\u8fdb\u884c\u8c03\u8bd5\uff0c\u53ef\u4ee5\u5728\u672c\u5730\u8c03\u8bd5\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5355\u5143\u6d4b\u8bd5\u8c03\u8bd5<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u8c03\u8bd5\u5355\u5143\u6d4b\u8bd5\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528VSCode\u7684\u5355\u5143\u6d4b\u8bd5\u8c03\u8bd5\u529f\u80fd\u3002VSCode\u652f\u6301\u591a\u79cd\u5355\u5143\u6d4b\u8bd5\u6846\u67b6\uff0c\u5982unittest\u3001pytest\u7b49\uff0c\u53ef\u4ee5\u5728\u8c03\u8bd5\u89c6\u56fe\u4e2d\u67e5\u770b\u548c\u8fd0\u884c\u5355\u5143\u6d4b\u8bd5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Docker\u8c03\u8bd5<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u8c03\u8bd5Docker\u5bb9\u5668\u4e2d\u7684\u4ee3\u7801\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528VSCode\u7684Docker\u8c03\u8bd5\u529f\u80fd\u3002VSCode\u652f\u6301\u901a\u8fc7Docker\u6269\u5c55\u8c03\u8bd5\u5bb9\u5668\u4e2d\u7684\u4ee3\u7801\uff0c\u53ef\u4ee5\u5728\u672c\u5730\u8c03\u8bd5\u5bb9\u5668\u4e2d\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u516b\u3001\u8c03\u8bd5\u63d2\u4ef6\u548c\u6269\u5c55<\/h3>\n<\/p>\n<p><p>VSCode\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u63d2\u4ef6\u548c\u6269\u5c55\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u9ad8\u6548\u5730\u8fdb\u884c\u8c03\u8bd5\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u8c03\u8bd5\u63d2\u4ef6\u548c\u6269\u5c55\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Python\u6269\u5c55<\/strong><\/p>\n<\/p>\n<p><p>Python\u6269\u5c55\u662fVSCode\u7684\u5b98\u65b9\u6269\u5c55\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684Python\u5f00\u53d1\u548c\u8c03\u8bd5\u529f\u80fd\u3002\u5b89\u88c5Python\u6269\u5c55\uff0c\u53ef\u4ee5\u83b7\u5f97\u8bed\u6cd5\u9ad8\u4eae\u3001\u4ee3\u7801\u8865\u5168\u3001\u8c03\u8bd5\u7b49\u591a\u79cd\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Pylance\u6269\u5c55<\/strong><\/p>\n<\/p>\n<p><p>Pylance\u6269\u5c55\u662fVSCode\u7684\u5b98\u65b9\u6269\u5c55\uff0c\u63d0\u4f9b\u4e86\u9ad8\u6027\u80fd\u7684Python\u8bed\u8a00\u670d\u52a1\u3002\u5b89\u88c5Pylance\u6269\u5c55\uff0c\u53ef\u4ee5\u83b7\u5f97\u66f4\u5feb\u7684\u4ee3\u7801\u8865\u5168\u3001\u9519\u8bef\u68c0\u6d4b\u3001\u91cd\u6784\u7b49\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Remote &#8211; SSH\u6269\u5c55<\/strong><\/p>\n<\/p>\n<p><p>Remote &#8211; SSH\u6269\u5c55\u662fVSCode\u7684\u5b98\u65b9\u6269\u5c55\uff0c\u63d0\u4f9b\u4e86\u8fdc\u7a0b\u5f00\u53d1\u548c\u8c03\u8bd5\u529f\u80fd\u3002\u5b89\u88c5Remote &#8211; SSH\u6269\u5c55\uff0c\u53ef\u4ee5\u901a\u8fc7SSH\u8fde\u63a5\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\u8fdb\u884c\u5f00\u53d1\u548c\u8c03\u8bd5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Docker\u6269\u5c55<\/strong><\/p>\n<\/p>\n<p><p>Docker\u6269\u5c55\u662fVSCode\u7684\u5b98\u65b9\u6269\u5c55\uff0c\u63d0\u4f9b\u4e86Docker\u5bb9\u5668\u7ba1\u7406\u548c\u8c03\u8bd5\u529f\u80fd\u3002\u5b89\u88c5Docker\u6269\u5c55\uff0c\u53ef\u4ee5\u7ba1\u7406Docker\u5bb9\u5668\uff0c\u8c03\u8bd5\u5bb9\u5668\u4e2d\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Jupyter\u6269\u5c55<\/strong><\/p>\n<\/p>\n<p><p>Jupyter\u6269\u5c55\u662fVSCode\u7684\u5b98\u65b9\u6269\u5c55\uff0c\u63d0\u4f9b\u4e86Jupyter Notebook\u652f\u6301\u3002\u5b89\u88c5Jupyter\u6269\u5c55\uff0c\u53ef\u4ee5\u5728VSCode\u4e2d\u7f16\u8f91\u548c\u8fd0\u884cJupyter Notebook\uff0c\u8c03\u8bd5Notebook\u4e2d\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e5d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>VSCode\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u8c03\u8bd5\u529f\u80fd\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u9ad8\u6548\u5730\u8c03\u8bd5Python\u4ee3\u7801\u3002\u901a\u8fc7\u4f7f\u7528\u5185\u7f6e\u8c03\u8bd5\u5668\u3001\u8bbe\u7f6e\u65ad\u70b9\u3001\u4f7f\u7528\u8c03\u8bd5\u63a7\u5236\u53f0\u3001\u914d\u7f6elaunch.json\u6587\u4ef6\u7b49\u65b9\u6cd5\uff0c\u53ef\u4ee5\u9010\u884c\u8c03\u8bd5\u4ee3\u7801\uff0c\u68c0\u67e5\u53d8\u91cf\u72b6\u6001\u548c\u8f93\u51fa\uff0c\u5feb\u901f\u5b9a\u4f4d\u548c\u89e3\u51b3\u95ee\u9898\u3002\u540c\u65f6\uff0c\u5584\u7528\u8c03\u8bd5\u6280\u5de7\u548c\u6700\u4f73\u5b9e\u8df5\uff0c\u4e86\u89e3\u5e38\u89c1\u8c03\u8bd5\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u63d0\u9ad8\u8c03\u8bd5\u6548\u7387\u3002\u5bf9\u4e8e\u590d\u6742\u9879\u76ee\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u7ebf\u7a0b\u8c03\u8bd5\u3001\u8fdc\u7a0b\u8c03\u8bd5\u3001\u5355\u5143\u6d4b\u8bd5\u8c03\u8bd5\u3001Docker\u8c03\u8bd5\u7b49\u9ad8\u7ea7\u529f\u80fd\u3002\u6b64\u5916\uff0c\u5b89\u88c5\u548c\u4f7f\u7528\u8c03\u8bd5\u63d2\u4ef6\u548c\u6269\u5c55\uff0c\u53ef\u4ee5\u83b7\u5f97\u66f4\u591a\u8c03\u8bd5\u529f\u80fd\u548c\u652f\u6301\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\u548c\u6280\u5de7\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5145\u5206\u5229\u7528VSCode\u7684\u8c03\u8bd5\u529f\u80fd\uff0c\u63d0\u9ad8\u8c03\u8bd5\u6548\u7387\uff0c\u5feb\u901f\u89e3\u51b3\u4ee3\u7801\u4e2d\u7684\u95ee\u9898\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u4f7f\u7528VSCode\u8fdb\u884cPython\u8c03\u8bd5\uff0c\u63d0\u5347\u5f00\u53d1\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728VSCode\u4e2d\u8bbe\u7f6ePython\u8c03\u8bd5\u73af\u5883\uff1f<\/strong><br \/>\u8981\u5728VSCode\u4e2d\u8bbe\u7f6ePython\u8c03\u8bd5\u73af\u5883\uff0c\u60a8\u9700\u8981\u786e\u4fdd\u5b89\u88c5\u4e86Python\u6269\u5c55\u3002\u6253\u5f00VSCode\u540e\uff0c\u524d\u5f80\u6269\u5c55\u5e02\u573a\uff0c\u641c\u7d22\u201cPython\u201d\uff0c\u5e76\u5b89\u88c5\u7531Microsoft\u63d0\u4f9b\u7684\u5b98\u65b9\u6269\u5c55\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff0c\u70b9\u51fb\u5de6\u4fa7\u8fb9\u680f\u7684\u201c\u8fd0\u884c\u548c\u8c03\u8bd5\u201d\u56fe\u6807\uff0c\u7136\u540e\u9009\u62e9\u201cPython\u6587\u4ef6\u201d\u4ee5\u5f00\u59cb\u8c03\u8bd5\u3002\u540c\u65f6\uff0c\u786e\u4fdd\u60a8\u7684Python\u89e3\u91ca\u5668\u5df2\u6b63\u786e\u8bbe\u7f6e\uff0c\u60a8\u53ef\u4ee5\u5728\u5e95\u90e8\u72b6\u6001\u680f\u4e2d\u9009\u62e9\u60a8\u5e0c\u671b\u4f7f\u7528\u7684Python\u7248\u672c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728VSCode\u4e2d\u4f7f\u7528\u65ad\u70b9\u8fdb\u884c\u8c03\u8bd5\uff1f<\/strong><br \/>\u5728VSCode\u4e2d\u4f7f\u7528\u65ad\u70b9\u8fdb\u884c\u8c03\u8bd5\u662f\u975e\u5e38\u7b80\u5355\u7684\u3002\u53ea\u9700\u5728\u60a8\u60f3\u8981\u6682\u505c\u6267\u884c\u7684\u4ee3\u7801\u884c\u5de6\u4fa7\u5355\u51fb\uff0c\u60a8\u4f1a\u770b\u5230\u4e00\u4e2a\u7ea2\u70b9\u51fa\u73b0\u3002\u8bbe\u7f6e\u597d\u65ad\u70b9\u540e\uff0c\u542f\u52a8\u8c03\u8bd5\u4f1a\u8bdd\uff0c\u7a0b\u5e8f\u5c06\u5728\u65ad\u70b9\u5904\u6682\u505c\uff0c\u60a8\u53ef\u4ee5\u67e5\u770b\u53d8\u91cf\u7684\u503c\u3001\u6267\u884c\u9010\u884c\u8c03\u8bd5\u4ee5\u53ca\u8c03\u7528\u5806\u6808\u3002\u5229\u7528\u8fd9\u4e9b\u529f\u80fd\u53ef\u4ee5\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u7406\u89e3\u4ee3\u7801\u7684\u6267\u884c\u6d41\u7a0b\u548c\u8bc6\u522b\u6f5c\u5728\u95ee\u9898\u3002<\/p>\n<p><strong>VSCode\u8c03\u8bd5Python\u65f6\u5982\u4f55\u67e5\u770b\u53d8\u91cf\u7684\u503c\uff1f<\/strong><br \/>\u5728\u8c03\u8bd5\u8fc7\u7a0b\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u201c\u53d8\u91cf\u201d\u7a97\u53e3\u6765\u67e5\u770b\u5f53\u524d\u4f5c\u7528\u57df\u5185\u7684\u53d8\u91cf\u503c\u3002\u5f53\u7a0b\u5e8f\u5728\u65ad\u70b9\u5904\u6682\u505c\u65f6\uff0c\u60a8\u53ef\u4ee5\u6253\u5f00\u201c\u8c03\u8bd5\u201d\u4fa7\u8fb9\u680f\uff0c\u67e5\u770b\u201c\u53d8\u91cf\u201d\u90e8\u5206\u4e2d\u7684\u6240\u6709\u5c40\u90e8\u53d8\u91cf\u548c\u5168\u5c40\u53d8\u91cf\u7684\u503c\u3002\u60a8\u8fd8\u53ef\u4ee5\u5c06\u9f20\u6807\u60ac\u505c\u5728\u4ee3\u7801\u4e2d\u7684\u53d8\u91cf\u4e0a\uff0cVSCode\u4f1a\u663e\u793a\u8be5\u53d8\u91cf\u7684\u5f53\u524d\u503c\u3002\u6b64\u5916\uff0c\u60a8\u4e5f\u53ef\u4ee5\u5728\u201c\u76d1\u89c6\u201d\u7a97\u53e3\u4e2d\u6dfb\u52a0\u7279\u5b9a\u53d8\u91cf\uff0c\u4ee5\u4fbf\u6301\u7eed\u8ddf\u8e2a\u5176\u503c\u7684\u53d8\u5316\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"VSCode\u5bf9Python\u8fdb\u884c\u8c03\u8bd5\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u5185\u7f6e\u8c03\u8bd5\u5668\u3001\u8bbe\u7f6e\u65ad\u70b9\u3001\u4f7f\u7528\u8c03\u8bd5\u63a7\u5236\u53f0\u3001\u914d\u7f6elaunch.jso [&hellip;]","protected":false},"author":3,"featured_media":1163424,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1163418"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1163418"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1163418\/revisions"}],"predecessor-version":[{"id":1163428,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1163418\/revisions\/1163428"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1163424"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1163418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1163418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1163418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}