diff --git a/src/extension/service.ts b/src/extension/service.ts index c4fe4c27e64..b7afe1f6ae3 100644 --- a/src/extension/service.ts +++ b/src/extension/service.ts @@ -55,7 +55,7 @@ Object.assign(globalThis, { type Service = Record Promise> function register(service: T, name: keyof Services, mock?: Partial) { if (OnlyRunInContext(['content', 'options', 'debugging', 'background'], false)) { - console.log(`Service ${name} registered in ${GetContext()}`) + GetContext() !== 'debugging' && console.log(`Service ${name} registered in ${GetContext()}`) Object.assign(Services, { [name]: AsyncCall(Object.assign({}, service), { key: name,