作者: Jim Wang 公众号: 巴博萨船长

摘要:在使用Hexo部署自己的博客时,常常接触hexo generater,hexo clean和hexo deploy等命令,估计很少人想过如何调试Hexo这些命令的相关代码。作为基于Node的开源blog项目,其在VS Code中的调试环境是什么样的?如何建立这样的调试环境?调试时需要注意什么? 在VSCode调试Node代码时,可能会遇见方法process.stdout.write和方法console.log的输出内容不在同一位置的问题,该问题如何解决?

Abstract: When using hexo to deploy the blog, often use commands such as hexo generator, hexo clean and hexo deploy. Few people have thought about how to debug the Hexo codes related to these commands. As a node-based open source blog project, what is its debugging environment in VS Code? How to build a debugging environment for debugging Hexo code? What should pay attention to when debugging? When debugging Node code in VS Code, the output content of process.stdout.write and console.log are not in the same location, why? How to solve the problem?

阅读全文
  • 第 1 页 共 1 页
作者的图片

Jim Wang


全栈探索之路
记录个人对技术的理解和开发过程中遇到的问题,欢迎了解更多。

软件工程师


河南,中国
global.wechat_public_qr_code_image

请扫描上方的二维码订阅我的个人微信公众号


原创不易,多多点赞分享支持。

global.wechat_public_search_bar_image