Remove debug menu

I am trying to remove the debug menu entirely, following the steps here https://spectrum.chat/theia/general/how-to-disable-menu-sub-menu-items-via-my-custom-extensions~306b4799-fe97-4011-887f-f8dd07e4e51d?m=MTU2NDY2Mzg1OTM3Ng==https://spectrum.chat/theia/general/how-to-disable-menusub-menu-items-via-my-custom-extensions~306b4799-fe97-4011-887f-f8dd07e4e51d

I generated an extension, following here https://theia-ide.org/docs/authoring_extensions

This is what I have in my-extension-name/src/browser/my-extension-name-contribution.ts

import { injectable } from 'inversify';
import { MenuContribution, MenuModelRegistry } from '@theia/core/lib/common';

@injectable
()
export class RemovalContribution implements MenuContribution {
public registerMenus(menus: MenuModelRegistry): void {
// Help


    menus.unregisterMenuAction(DebugMenus.DEBUG.slice(-1)[0])
}
}

I am faced with the error - Cannot find name ‘DebugMenus’. How should I import DebugMenus properly?

[original thread by Nicholas Han]

have you tried to use content assist or quick fix to add missing imports?

DebugMenus belongs to “@theia/debug/lib/browser/debug-frontend-application-contribution”

[Nicholas Han]

Will give that a try. Thanks