一番搜集之后,记录一下。参考,eggjs文档,vscode插件。
Vscode 安装扩展 eggjs
添加 debugger,选择 egg 配置,如果没有,删掉 .vscode 重试
.vscode
运行 debugger