1. DEBUG=* npm run dev
  2. DEBUG=egg-core npm run dev

DEBUG加载系统核心 plugins插件
DEBUG=egg-core npm run dev
> my-midway-project@1.0.0 dev
> cross-env ets && cross-env NODE_ENV=local midway-bin dev —ts
[ Midway ] Server port 7001 is in use, now using port 7002
⠴ Midway Starting [ Midway ] 2021-11-16T00:45:14.609Z egg-core Loaded eggPaths [“/Users/lulongwen/Sites/midway-bff/node_modules/egg”,”/Users/lulongwen/Sites/midway-bff/node_modules/@midwayjs/web/dist”,”/Users/lulongwen/Sites/midway-bff/node_modules/@midwayjs/web”]
[ Midway ] 2021-11-16T00:45:14.610Z egg-core Loaded serverEnv “local”
2021-11-16T00:45:14.611Z egg-core Loaded appname(my-midway-project) from package.json

[ Midway ] 2021-11-16T00:45:14.620Z egg-core Loaded dirs [{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/egg-session”,”type”:”plugin”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/egg-security”,”type”:”plugin”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/egg-jsonp”,”type”:”plugin”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/egg-onerror”,”type”:”plugin”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/egg-i18n”,”type”:”plugin”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/egg-schedule”,”type”:”plugin”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/egg-multipart”,”type”:”plugin”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/egg-static”,”type”:”plugin”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/egg-view”,”type”:”plugin”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/midway-schedule”,”type”:”plugin”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/egg-mock”,”type”:”plugin”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/@midwayjs/mock”,”type”:”plugin”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/egg”,”type”:”framework”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/@midwayjs/web/dist”,”type”:”framework”},{“path”:”/Users/lulongwen/Sites/midway-bff/node_modules/@midwayjs/web”,”type”:”framework”},{“path”:”/Users/lulongwen/Sites/midway-bff/src”,”type”:”app”}]
⠧ Midway Starting [ Midway ] 2021-11-16T00:45:14.781Z egg-core Loaded eggPaths [“/Users/lulongwen/Sites/midway-bff/node_modules/egg”,”/Users/lulongwen/Sites/midway-bff/node_modules/@midwayjs/web/dist”,”/Users/lulongwen/Sites/midway-bff/node_modules/@midwayjs/web”]

midway debug