MCPcopy Create free account
hub / github.com/esengine/esengine / start

Method start

packages/core/src/Plugins/DebugPlugin.ts:146–157  ·  view source on GitHub ↗

* 启动调试监控

()

Source from the content-addressed store, hash-verified

144 * 启动调试监控
145 */
146 public start(): void {
147 if (this.updateTimer) {
148 logger.warn('Debug monitoring already started');
149 return;
150 }
151
152 logger.info('Starting debug monitoring');
153
154 this.updateTimer = setInterval(() => {
155 this.logStats();
156 }, this.updateInterval);
157 }
158
159 /**
160 * 停止调试监控

Callers 1

installMethod · 0.95

Calls 3

logStatsMethod · 0.95
warnMethod · 0.45
infoMethod · 0.45

Tested by

no test coverage detected