{"id":20574,"date":"2024-11-19T09:40:17","date_gmt":"2024-11-19T01:40:17","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20574\/"},"modified":"2024-11-19T09:40:17","modified_gmt":"2024-11-19T01:40:17","slug":"sublime%e6%80%8e%e4%b9%88%e8%be%93%e5%87%ba%e7%bb%93%e6%9e%9c","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20574\/","title":{"rendered":"sublime\u600e\u4e48\u8f93\u51fa\u7ed3\u679c"},"content":{"rendered":"<blockquote><p>\n  \u7b54\u6848\uff1a \u53ef\u901a\u8fc7\u547d\u4ee4\u9762\u677f\u3001\u63a7\u5236\u53f0\u3001\u63d2\u4ef6\u3001\u5916\u90e8\u811a\u672c\u548c node.js \u63d2\u4ef6\u5728 sublime text \u4e2d\u8f93\u51fa\u7ed3\u679c\u3002\u8be6\u7ec6\u63cf\u8ff0\uff1a\u547d\u4ee4\u9762\u677f\uff1a\u8f93\u5165 &#8220;view: show console&#8221; \u547d\u4ee4\u5e76\u4f7f\u7528 console.log() \u6253\u5370\u5230\u63a7\u5236\u53f0\u3002\u63a7\u5236\u53f0\uff1a\u4f7f\u7528 print_r() \u6216 var_dump() \u5c06\u53d8\u91cf\u8f93\u51fa\u5230\u6587\u4ef6\u3002\u63d2\u4ef6\uff1a\u5b89\u88c5 console 2 \u63d2\u4ef6\u4ee5\u83b7\u5f97\u5f69\u8272\u8f93\u51fa\u548c\u683c\u5f0f\u5316\u3002sublimerepl\uff1a\u521b\u5efa\u4e00\u4e2a\u4ea4\u4e92\u5f0f repl \u73af\u5883\u3002\u5176\u4ed6\u65b9\u6cd5\uff1a\u81ea\u52a8\u5316\u6d4f\u89c8\u5668\u64cd\u4f5c\u3001\u8c03\u7528\u5916\u90e8\u811a\u672c\u3001\u8fd0\u884c node.js \u811a\u672c\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/03\/2024040306211556003.jpg\" class=\"aligncenter\" title=\"sublime\u600e\u4e48\u8f93\u51fa\u7ed3\u679c\u63d2\u56fe\" alt=\"sublime\u600e\u4e48\u8f93\u51fa\u7ed3\u679c\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528 Sublime Text \u8f93\u51fa\u7ed3\u679c<\/strong><\/p>\n<p><strong>\u76f4\u63a5\u8f93\u51fa<\/strong><\/p>\n<ul>\n<li> <strong>\u6253\u5370\u5230\u63a7\u5236\u53f0\uff1a<\/strong>\u5728\u547d\u4ee4\u9762\u677f\uff08Ctrl\/Cmd + Shift + P\uff09\u4e2d\u8f93\u5165 View: Show Console\uff0c\u5e76\u5728\u63a7\u5236\u53f0\u8f93\u5165 console.log()\u3002<\/li>\n<li> <strong>\u6253\u5370\u5230\u6587\u4ef6\uff1a<\/strong>\u4f7f\u7528 print_r() \u6216 var_dump() \u5c06\u53d8\u91cf\u8f93\u51fa\u5230\u6307\u5b9a\u6587\u4ef6\uff0c\u4f8b\u5982 print_r($variable, true) &gt; output.txt\u3002<\/li>\n<\/ul>\n<p><strong>\u4f7f\u7528\u63d2\u4ef6<\/strong><\/p>\n<ul>\n<li> <strong>Console 2\uff1a<\/strong>\u5b89\u88c5 Console 2 \u63d2\u4ef6\u4ee5\u589e\u5f3a\u63a7\u5236\u53f0\u529f\u80fd\uff0c\u5305\u62ec\u5f69\u8272\u8f93\u51fa\u548c\u683c\u5f0f\u5316\u3002<\/li>\n<li> <strong>SublimeREPL\uff1a<\/strong>\u5b89\u88c5 SublimeREPL \u63d2\u4ef6\uff0c\u8fd9\u5c06\u521b\u5efa\u4e00\u4e2a\u4ea4\u4e92\u5f0f REPL\uff08Read-Eval-Print Loop\uff09\u73af\u5883\u3002<\/li>\n<\/ul>\n<p><strong>\u5176\u4ed6\u65b9\u6cd5<\/strong><\/p>\n<ul>\n<li> <strong>Selenium\uff1a<\/strong>\u81ea\u52a8\u5316\u6d4f\u89c8\u5668\u64cd\u4f5c\u5e76\u6355\u83b7\u5c4f\u5e55\u622a\u56fe\u6216 HTML\u3002<\/li>\n<li> <strong>\u5916\u90e8\u811a\u672c\uff1a<\/strong>\u8c03\u7528\u5916\u90e8\u811a\u672c\u6216\u547d\u4ee4\u884c\u5de5\u5177\u6765\u5904\u7406\u8f93\u51fa\u3002<\/li>\n<li> <strong>Node.js\uff1a<\/strong>\u4f7f\u7528 Node.js \u63d2\u4ef6\u5728 Sublime Text \u4e2d\u8fd0\u884c Node.js \u811a\u672c\u5e76\u8f93\u51fa\u7ed3\u679c\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u8f93\u51fa\u7ed3\u679c\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>\u7b54\u6848\uff1a \u53ef\u901a\u8fc7\u547d\u4ee4\u9762\u677f\u3001\u63a7\u5236\u53f0\u3001\u63d2\u4ef6\u3001\u5916\u90e8\u811a\u672c\u548c node.js \u63d2\u4ef6\u5728 sublime text \u4e2d\u8f93\u51fa\u7ed3\u679c\u3002\u8be6\u7ec6\u63cf\u8ff0\uff1a\u547d\u4ee4\u9762\u677f\uff1a\u8f93\u5165 &#8220;view: show console&#8221; \u547d\u4ee4\u5e76\u4f7f\u7528 console.log() \u6253\u5370\u5230\u63a7\u5236\u53f0\u3002\u63a7\u5236\u53f0\uff1a\u4f7f\u7528 print_r() \u6216 var_dump() \u5c06\u53d8\u91cf\u8f93\u51fa\u5230\u6587\u4ef6\u3002\u63d2\u4ef6\uff1a\u5b89\u88c5 console 2 \u63d2\u4ef6\u4ee5\u83b7\u5f97\u5f69\u8272\u8f93\u51fa\u548c\u683c\u5f0f\u5316\u3002sublimerepl\uff1a\u521b\u5efa\u4e00\u4e2a\u4ea4\u4e92\u5f0f repl \u73af\u5883\u3002\u5176\u4ed6\u65b9\u6cd5\uff1a\u81ea\u52a8\u5316\u6d4f\u89c8\u5668\u64cd\u4f5c\u3001\u8c03\u7528\u5916\u90e8\u811a\u672c\u3001\u8fd0\u884c node.js \u811a\u672c\u3002 \u5982\u4f55\u4f7f\u7528 Sublime Text \u8f93\u51fa\u7ed3\u679c \u76f4\u63a5\u8f93\u51fa \u6253\u5370\u5230\u63a7\u5236\u53f0\uff1a\u5728\u547d\u4ee4\u9762\u677f\uff08Ctrl\/Cmd + Shift + P\uff09\u4e2d\u8f93\u5165 View: Show Console\uff0c\u5e76\u5728\u63a7\u5236\u53f0\u8f93\u5165 console.log()\u3002 \u6253\u5370\u5230\u6587\u4ef6\uff1a\u4f7f\u7528 print_r() \u6216 var_dump() \u5c06\u53d8\u91cf\u8f93\u51fa\u5230\u6307\u5b9a\u6587\u4ef6\uff0c\u4f8b\u5982 print_r($variable, true) &gt; output.txt\u3002 \u4f7f\u7528\u63d2\u4ef6 Console 2\uff1a\u5b89\u88c5 Console 2 \u63d2\u4ef6\u4ee5\u589e\u5f3a\u63a7\u5236\u53f0\u529f\u80fd\uff0c\u5305\u62ec\u5f69\u8272\u8f93\u51fa\u548c\u683c\u5f0f\u5316\u3002 SublimeREPL\uff1a\u5b89\u88c5 SublimeREPL [&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-20574","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20574","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=20574"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20574\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}