{"id":11942,"date":"2025-04-18T19:03:54","date_gmt":"2025-04-18T11:03:54","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/11942.html"},"modified":"2025-04-18T19:03:54","modified_gmt":"2025-04-18T11:03:54","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%bf%9c%e7%a8%8bvscode%e8%b7%91%e4%bb%a3%e7%a0%81","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/11942.html","title":{"rendered":"\u670d\u52a1\u5668\u8fdc\u7a0bVSCode\u8dd1\u4ee3\u7801"},"content":{"rendered":"<h2>\u670d\u52a1\u5668\u8fdc\u7a0bVSCode\u8dd1\u4ee3\u7801<\/h2>\n<p>\u8bb0\u5f55\u4e00\u4e0b\u600e\u4e48\u7528VSCode\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668&#xff0c;\u4ee5\u53ca\u4f7f\u7528nohup\u540e\u53f0\u8dd1\u4ee3\u7801<\/p>\n<h3>VSCode\u8fdc\u7a0b\u8fde\u63a5\u670d\u52a1\u5668<\/h3>\n<p>\u670d\u52a1\u5668\u4fe1\u606f&#xff1a;<\/p>\n<p>ssh -p 2222 root&#064;connect.cqa1.seetacloud.com (\u8fd8\u6709\u4e00\u79cd\u4e3axxx&#064;192.168.147.128&#xff0c;\u540e\u9762\u4e3aip\u5730\u5740\u3002Linux\u4e2d\u4e3a\u7528\u6237\u540d&#064;\u670d\u52a1\u5668ip\u5730\u5740) \u5bc6\u7801&#xff1a;123123123<\/p>\n<li>\n<p>\u5728VSCode\u7684\u6269\u5c55\u4e2d\u641c\u7d22remote ssh\u5e76\u4e0b\u8f7d&#xff0c;\u5982\u4e0b\u56fe&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418110352-68023198b157a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u4e0b\u8f7d\u5b8c\u6210\u540e&#xff0c;\u4f1a\u51fa\u73b0\u4e00\u4e2a\u8fdc\u7a0b\u8fde\u63a5\u7684\u56fe\u6807 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418110352-68023198c771c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u70b9\u51fb\u8be5\u56fe\u6807&#xff0c;\u5728SSH\u53f3\u65b9\u70b9\u51fb&#043;&#xff0c;\u65b0\u5efa\u8fdc\u7a0b <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418110352-68023198d378a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u5728\u6b64\u5904\u8f93\u5165\u8f93\u5165\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u5730\u5740&#xff0c;\u6b64\u5904\u4e3assh root&#064;connect.cqa1.seetacloud.com &#xff0c;\u8f93\u5165\u540e\u56de\u8f66 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418110352-68023198e033f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6e\u6587\u4ef6 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418110352-68023198ecfac.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5982\u4e0b\u56fe\u6240\u793a&#xff0c;\u5176\u4e2d Host\u4e3a\u663e\u793a\u7684\u670d\u52a1\u5668\u7684\u540d\u79f0&#xff0c;\u53ef\u81ea\u5df1\u547d\u540d HostName\u4e3a\u670d\u52a1\u5668\u7684ip&#xff0c;\u6b64\u5904\u4e3aconnect.cqa1.seetacloud.com &#xff08;&#064;\u540e\u9762\u7684\u90e8\u5206&#xff09; User\u4e3assh\u767b\u5f55\u7684\u7528\u6237\u540d&#xff0c;\u6b64\u5904\u4e3aroot&#xff08;&#064;\u524d\u9762\u7684\u90e8\u5206&#xff09; Port\u4e3a\u7aef\u53e3\u53f7&#xff0c;\u6b64\u5904\u4e3a2222&#xff0c;\u6ca1\u6709\u5c31\u4e0d\u5199 \u5b8c\u6210\u540e\u4fdd\u5b58 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418110353-680231990738c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u8f93\u5165\u5bc6\u7801&#xff0c;\u56de\u8f66 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418110353-6802319914981.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u7136\u540e\u5c31\u53ef\u4ee5\u6253\u5f00\u670d\u52a1\u5668\u7684\u6587\u4ef6\u5939\u8fdb\u884c\u8fdc\u7a0b\u64cd\u4f5c\u4e86\u3002\u5bf9\u4e8e\u5efa\u7acb\u597d\u7684\u670d\u52a1\u5668&#xff0c;\u53ea\u9700\u5728\u8fdc\u7a0b\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u627e\u5230\u8be5\u670d\u52a1\u5668&#xff0c;\u70b9\u51fb\u2192&#xff0c;\u5728\u8fdc\u7a0b\u5f53\u524d\u7a97\u53e3\u94fe\u63a5\u8fde\u63a5\u5373\u53ef <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418110353-6802319942dfe.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<h3>\u4f7f\u7528nohup\u5728\u540e\u53f0\u8dd1\u4ee3\u7801<\/h3>\n<p>\u8fd9\u91cc\u4ee5yolo\u4e3a\u4f8b&#xff0c;\u53c2\u8003yolo5\u76ee\u6807\u68c0\u6d4b \u8981\u8fd0\u884c\u7684\u4ee3\u7801\u540d\u79f0\u4e3atrain.py&#xff0c;\u914d\u7f6e\u4e3a&#8211;data data\/mydata.yaml &#8211;cfg models\/yolov5n.yaml &#8211;data data\/mydata.yaml &#8211;epochs 10000 &#8211;imgsz 800 &#8211;device 0,1,2 &#8211;batch-size 15  \u5219\u8981\u4f7f\u7528\u540e\u53f0\u8fd0\u884c\u8bed\u53e5\u4e3a&#xff1a;<\/p>\n<p><span class=\"token function\">nohup<\/span> python train.py <span class=\"token parameter variable\">&#8211;data<\/span> data\/mydata.yaml <span class=\"token parameter variable\">&#8211;cfg<\/span> models\/yolov5n.yaml <span class=\"token parameter variable\">&#8211;data<\/span> data\/mydata.yaml <span class=\"token parameter variable\">&#8211;epochs<\/span> <span class=\"token number\">10000<\/span> <span class=\"token parameter variable\">&#8211;imgsz<\/span> <span class=\"token number\">800<\/span> <span class=\"token parameter variable\">&#8211;device<\/span> <span class=\"token number\">0,1<\/span>,2 &#8211;batch-size <span class=\"token number\">15<\/span> <span class=\"token operator\">&gt;<\/span> log_slice_yolov5n <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span><span class=\"token file-descriptor important\">&amp;1<\/span><\/p>\n<p>\u5176\u4e2d&#xff0c;log_slice_yolov5n\u4e3a\u65e5\u5fd7\u540d\u79f0\u3002<\/p>\n<p>\u4e00\u822c\u8fd0\u884c\u8bed\u53e5\u4e3a&#xff1a;<\/p>\n<p><span class=\"token function\">nohup<\/span> python myfile.py <span class=\"token operator\">&gt;&gt;<\/span> myresult1.out <span class=\"token operator\">&amp;<\/span><\/p>\n<p>\u5176\u4e2d&#xff0c;myfile.py\u4e3a\u9700\u8981\u8fd0\u884c\u7684\u7a0b\u5e8f&#xff0c;myresult.out\u4e3a\u8f93\u51fa\u6587\u4ef6&#xff0c;myresult.out\u9ed8\u8ba4\u4e0e.py\u6587\u4ef6\u4fdd\u5b58\u5728\u540c\u4e00\u8def\u5f84\u4e0b\u3002 python\u6307\u4ee4\u4e5f\u53ef\u4ee5\u6362\u6210\u5176\u4ed6\u7a0b\u5e8f\u6267\u884c\u6307\u4ee4\u6765\u8fd0\u884c\u5176\u4ed6\u8bed\u8a00\u7684\u7a0b\u5e8f&#xff0c;\u5176\u4f59\u4e0d\u53d8 \u6267\u884c\u540e\u4f1a\u5728\u5f53\u524d\u8def\u5f84\u751f\u6210\u4e00\u4e2a.out\u6587\u4ef6<\/p>\n<p>\u4e0d\u8f93\u51fa\u65e5\u5fd7&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u4ec0\u4e48\u65e5\u5fd7\u4e5f\u4e0d\u8f93\u51fa<\/span><br \/>\n<span class=\"token function\">nohup<\/span> .\/test.sh <span class=\"token operator\">&gt;<\/span> \/dev\/null   <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span><span class=\"token file-descriptor important\">&amp;1<\/span>   <span class=\"token operator\">&amp;<\/span><\/p>\n<p>&#034;&gt;&#034;\u7b26\u53f7\u7528\u4e8e\u5c06\u547d\u4ee4\u7684\u6807\u51c6\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u4e2d &gt; outlog.log \u8868\u793a\u5c06\u7ec8\u7aef\u8f93\u51fa\u4fdd\u5b58\u5230outlog.log\u6587\u4ef6\u4e2d &#034;2&gt;&amp;1&#034;\u8868\u793a\u5c06\u547d\u4ee4\u7684\u6807\u51c6\u9519\u8bef\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u4e2d 2&gt;&amp;1 \u8868\u793a\u5c06\u547d\u4ee4\u7684\u6807\u51c6\u9519\u8bef\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u6807\u51c6\u8f93\u51fa1\u4e2d\u4e00\u8d77\u8f93\u51fa &#xff08;ps:\u6807\u51c6\u8f93\u51fa1\u6307\u7684\u662f&gt;outlog.log\u6587\u4ef6&#xff0c;\u5177\u4f53\u53ef\u89c1\u4e0b\u9762\u7684\u5185\u5bb9&#xff09; &amp; \u540e\u53f0\u6302\u8d77<\/p>\n<p>2&gt;&amp;1 0 \u8868\u793astdin\u6807\u51c6\u8f93\u5165&#xff0c;\u7528\u6237\u952e\u76d8\u8f93\u5165\u7684\u5185\u5bb9 1 \u8868\u793astdout\u6807\u51c6\u8f93\u51fa&#xff0c;\u8f93\u51fa\u5230\u663e\u793a\u5c4f\u7684\u5185\u5bb9 2 \u8868\u793astderr\u6807\u51c6\u9519\u8bef&#xff0c;\u62a5\u9519\u5185\u5bb9 2&gt;&amp;1\u662f\u4e00\u4e2a\u6574\u4f53&#xff0c;&gt;\u5de6\u53f3\u4e0d\u80fd\u6709\u7a7a\u683c&#xff0c;\u5373\u5c06\u9519\u8bef\u5185\u5bb9\u91cd\u5b9a\u5411\u8f93\u5165\u5230\u6807\u51c6\u8f93\u51fa\u4e2d\u53bb\u3002 &gt;\u7b26\u53f7\u7528\u4e8e\u5c06\u547d\u4ee4\u7684\u6807\u51c6\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u4e2d&#xff0c; 2&gt;\u8868\u793a\u5c06\u547d\u4ee4\u7684\u6807\u51c6\u9519\u8bef\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u4e2d&#xff0c; 2&gt;&amp;1\u8868\u793a\u5c06\u547d\u4ee4\u7684\u6807\u51c6\u9519\u8bef\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u6807\u51c6\u8f93\u51fa\u4e2d<\/p>\n<p>\u67e5\u770b\u8fd0\u884c\u65e5\u5fd7&#xff1a;<\/p>\n<p><span class=\"token function\">tail<\/span> <span class=\"token parameter variable\">-f<\/span> log_slice_yolov5n<\/p>\n<p>\u5176\u4e2d&#xff0c;log_slice_yolov5n\u4e3a\u65e5\u5fd7\u540d\u79f0&#xff0c;\u4e0e\u524d\u9762\u5bf9\u5e94<\/p>\n<p>\u67e5\u770b\u8fdb\u7a0b&#xff1a;<\/p>\n<p><span class=\"token function\">ps<\/span> <span class=\"token parameter variable\">-aux<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token string\">&#034;myfile.py&#034;<\/span><\/p>\n<p>\u53c2\u6570\u8bf4\u660e&#xff1a;<\/p>\n<p>a: \u663e\u793a\u6240\u6709\u7a0b\u5e8f u: \u4ee5\u7528\u6237\u4e3a\u4e3b\u7684\u683c\u5f0f\u6765\u663e\u793a x: \u663e\u793a\u6240\u6709\u7a0b\u5e8f&#xff0c;\u4e0d\u533a\u5206\u7ec8\u7aef\u673a<\/p>\n<p>Ctrl &#043; z \u53ef\u4ee5\u5c06\u4e00\u4e2a\u6b63\u5728\u524d\u53f0\u6267\u884c\u7684\u547d\u4ee4\u653e\u5230\u540e\u53f0&#xff0c;\u5e76\u4e14\u5904\u4e8e\u6682\u505c\u72b6\u6001\u3002<\/p>\n<p>Ctrl &#043; c \u7ec8\u6b62\u524d\u53f0\u547d\u4ee4\u3002<\/p>\n<p>jobs \u67e5\u770b\u5f53\u524d\u6709\u591a\u5c11\u5728\u540e\u53f0\u8fd0\u884c\u7684\u547d\u4ee4\u3002 jobs -l \u9009\u9879\u53ef\u663e\u793a\u6240\u6709\u4efb\u52a1\u7684PID&#xff0c;jobs\u7684\u72b6\u6001\u53ef\u4ee5\u662frunning, stopped, Terminated\u3002\u4f46\u662f\u5982\u679c\u4efb\u52a1\u88ab\u7ec8\u6b62\u4e86&#xff08;kill&#xff09;&#xff0c;shell \u4ece\u5f53\u524d\u7684shell\u73af\u5883\u5df2\u77e5\u7684\u5217\u8868\u4e2d\u5220\u9664\u4efb\u52a1\u7684\u8fdb\u7a0b\u6807\u8bc6\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418110353-6802319955ea9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u6682\u505c\u8fdb\u7a0b<\/p>\n<p><span class=\"token function\">kill<\/span> <span class=\"token parameter variable\">-STOP<\/span> <span class=\"token operator\">&lt;<\/span>\u8fdb\u7a0b\u53f7<span class=\"token operator\">&gt;<\/span><\/p>\n<p>\u6062\u590d\u8fdb\u7a0b<\/p>\n<p><span class=\"token function\">kill<\/span> <span class=\"token parameter variable\">-CONT<\/span> <span class=\"token operator\">&lt;<\/span>\u8fdb\u7a0b\u53f7<span class=\"token operator\">&gt;<\/span><\/p>\n<p>\u7ed3\u675f\u8fdb\u7a0b&#xff1a;<\/p>\n<p><span class=\"token function\">kill<\/span> <span class=\"token parameter variable\">-9<\/span> <span class=\"token operator\">&lt;<\/span>\u8fdb\u7a0b\u53f7<span class=\"token operator\">&gt;<\/span><\/p>\n<p>\u5982&#xff1a;<\/p>\n<p><span class=\"token function\">kill<\/span> <span class=\"token parameter variable\">-9<\/span> <span class=\"token number\">904709<\/span><\/p>\n<p>\u8fd8\u53ef\u4ee5\u6307\u5b9a\u8fd0\u884c\u7684\u51fd\u6570\u7ed3\u675f\u8fdb\u7a0b(\u5176\u4e2dtrain.py\u4e3a\u5728\u8fd0\u884c\u7684python\u6587\u4ef6)&#xff1a;<\/p>\n<p>pgrep <span class=\"token parameter variable\">-f<\/span> train.py <span class=\"token operator\">|<\/span> <span class=\"token function\">xargs<\/span> <span class=\"token function\">kill<\/span> <span class=\"token parameter variable\">-9<\/span><\/p>\n<p>\u7ed3\u675f\u6240\u6709\u6b63\u5728\u8fd0\u884c\u7684python\u8fdb\u7a0b&#xff1a;<\/p>\n<li>\u4f7f\u7528pkill<\/li>\n<p>\u6253\u5f00\u7ec8\u7aef&#xff0c;\u7136\u540e\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">pkill<\/span> <span class=\"token parameter variable\">-f<\/span> python<\/p>\n<p>\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u53d1\u9001SIGTERM\u4fe1\u53f7\u7ed9\u6240\u6709\u5305\u542b&#034;python&#034;\u7684\u8fdb\u7a0b\u540d\u3002\u5982\u679c\u4f60\u60f3\u5f3a\u5236\u6740\u6b7b\u8fdb\u7a0b&#xff0c;\u53ef\u4ee5\u4f7f\u7528SIGKILL\u4fe1\u53f7&#xff1a;<\/p>\n<p><span class=\"token function\">pkill<\/span> <span class=\"token parameter variable\">-9<\/span> <span class=\"token parameter variable\">-f<\/span> python<\/p>\n<li>\u4f7f\u7528 killall<\/li>\n<p>\u5728\u67d0\u4e9b\u7cfb\u7edf\u4e2d&#xff0c;\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528killall\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">killall<\/span> python<\/p>\n<p>\u540c\u6837\u5730&#xff0c;\u5982\u679c\u4f60\u60f3\u5f3a\u5236\u6740\u6b7b\u8fdb\u7a0b&#xff0c;\u53ef\u4ee5\u4f7f\u7528&#xff1a;<\/p>\n<p><span class=\"token function\">killall<\/span> <span class=\"token parameter variable\">-9<\/span> python<\/p>\n<p>\u4f7f\u7528 -9 \u4f1a\u7acb\u5373\u7ec8\u6b62\u8fdb\u7a0b&#xff0c;\u4e0d\u4f1a\u7ed9\u8fdb\u7a0b\u6e05\u7406\u548c\u4fdd\u5b58\u72b6\u6001\u7684\u673a\u4f1a&#xff0c;\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6570\u636e\u4e22\u5931\u6216\u7a0b\u5e8f\u72b6\u6001\u4e0d\u4e00\u81f4\u3002 \u5728\u8fd0\u884c\u8fd9\u4e9b\u547d\u4ee4\u4e4b\u524d&#xff0c;\u8bf7\u786e\u4fdd\u4f60\u4e86\u89e3\u5b83\u4eec\u7684\u5f71\u54cd&#xff0c;\u56e0\u4e3a\u5b83\u4eec\u4f1a\u6740\u6b7b\u6240\u6709\u5339\u914d\u7684\u8fdb\u7a0b\u3002 \u5982\u679c\u6709\u7279\u5b9a\u7684Python\u811a\u672c\u6216\u5e94\u7528\u7a0b\u5e8f&#xff0c;\u4f60\u53ef\u4ee5\u6307\u5b9a\u66f4\u5177\u4f53\u7684\u8fdb\u7a0b\u540d&#xff0c;\u4f8b\u5982 pkill -f my_script.py\u3002 \u5728\u6267\u884c\u8fd9\u4e9b\u64cd\u4f5c\u4e4b\u524d&#xff0c;\u6700\u597d\u5148\u68c0\u67e5\u6709\u54ea\u4e9b\u8fdb\u7a0b\u5c06\u4f1a\u88ab\u6740\u6b7b&#xff0c;\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>pgrep <span class=\"token parameter variable\">-f<\/span> python<\/p>\n<p>\u6216\u8005<\/p>\n<p><span class=\"token function\">ps<\/span> aux <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> python<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.2k\u6b21\uff0c\u70b9\u8d5e25\u6b21\uff0c\u6536\u85cf19\u6b21\u3002\u8bb0\u5f55\u4e00\u4e0b\u600e\u4e48\u7528VSCode\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668\uff0c\u4ee5\u53ca\u4f7f\u7528nohup\u540e\u53f0\u8dd1\u4ee3\u7801\u3002_vscode\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668<\/p>\n","protected":false},"author":2,"featured_media":11933,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[76,43,44],"topic":[],"class_list":["post-11942","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-vscode","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668\u8fdc\u7a0bVSCode\u8dd1\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/11942.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668\u8fdc\u7a0bVSCode\u8dd1\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.2k\u6b21\uff0c\u70b9\u8d5e25\u6b21\uff0c\u6536\u85cf19\u6b21\u3002\u8bb0\u5f55\u4e00\u4e0b\u600e\u4e48\u7528VSCode\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668\uff0c\u4ee5\u53ca\u4f7f\u7528nohup\u540e\u53f0\u8dd1\u4ee3\u7801\u3002_vscode\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/11942.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T11:03:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418110352-68023198b157a.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/11942.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/11942.html\",\"name\":\"\u670d\u52a1\u5668\u8fdc\u7a0bVSCode\u8dd1\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T11:03:54+00:00\",\"dateModified\":\"2025-04-18T11:03:54+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/11942.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/11942.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/11942.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668\u8fdc\u7a0bVSCode\u8dd1\u4ee3\u7801\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u670d\u52a1\u5668\u8fdc\u7a0bVSCode\u8dd1\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/11942.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668\u8fdc\u7a0bVSCode\u8dd1\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.2k\u6b21\uff0c\u70b9\u8d5e25\u6b21\uff0c\u6536\u85cf19\u6b21\u3002\u8bb0\u5f55\u4e00\u4e0b\u600e\u4e48\u7528VSCode\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668\uff0c\u4ee5\u53ca\u4f7f\u7528nohup\u540e\u53f0\u8dd1\u4ee3\u7801\u3002_vscode\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668","og_url":"https:\/\/www.wsisp.com\/helps\/11942.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T11:03:54+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418110352-68023198b157a.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/11942.html","url":"https:\/\/www.wsisp.com\/helps\/11942.html","name":"\u670d\u52a1\u5668\u8fdc\u7a0bVSCode\u8dd1\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T11:03:54+00:00","dateModified":"2025-04-18T11:03:54+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/11942.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/11942.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/11942.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668\u8fdc\u7a0bVSCode\u8dd1\u4ee3\u7801"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/11942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=11942"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/11942\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/11933"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=11942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=11942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=11942"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=11942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}