MCPcopy
hub / github.com/vitejs/vite / debug

Method debug

packages/vite/src/node/server/pluginContainer.ts:889–892  ·  view source on GitHub ↗
(log: string | RollupLog | (() => string | RollupLog))

Source from the content-addressed store, hash-verified

887 }
888
889 override debug(log: string | RollupLog | (() => string | RollupLog)): void {
890 const err = this._formatLog(typeof log === 'function' ? log() : log)
891 super.debug(err)
892 }
893
894 override info(log: string | RollupLog | (() => string | RollupLog)): void {
895 const err = this._formatLog(typeof log === 'function' ? log() : log)

Callers

nothing calls this directly

Calls 3

_formatLogMethod · 0.95
logFunction · 0.85
debugMethod · 0.65

Tested by

no test coverage detected