Remove debug menu

I am trying to remove the debug menu entirely, following the steps here

I generated an extension, following here

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';

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


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