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

Method debug

packages/vite/src/shared/hmr.ts:21–21  ·  view source on GitHub ↗
(...msg: unknown[])

Source from the content-addressed store, hash-verified

19export interface HMRLogger {
20 error(msg: string | Error): void
21 debug(...msg: unknown[]): void
22}
23
24export class HMRContext implements ViteHotContext {

Callers 14

client.tsFile · 0.65
handleMessageFunction · 0.65
removeOldElFunction · 0.65
pingWorkerContentMainFunction · 0.65
cachedModuleMethod · 0.65
ensureBuiltinsMethod · 0.65
getModuleInformationMethod · 0.65
directRequestMethod · 0.65
invalidateMethod · 0.65
fetchUpdateMethod · 0.65
debugMethod · 0.65

Implementers 3

BasicMinimalPluginContextpackages/vite/src/node/server/pluginCo
PluginContextpackages/vite/src/node/server/pluginCo
HMRMockLoggerplayground/hmr-ssr/__tests__/hmr-ssr.s

Calls

no outgoing calls

Tested by 2

optionsFunction · 0.52
loadFunction · 0.52