src/vs/workbench/contrib/debug/browser/repl.ts/getReplView
function getReplView(viewsService: IViewsService): Repl | undefined {
	return viewsService.getActiveViewWithId(REPL_VIEW_ID) as Repl ?? undefined;
}