boolean (@NotNull final Project project, final AnActionEvent event) { if (LightEdit.owns(project)) return false; XDebugSession session = DebuggerUIUtil.getSession(event); return session != null && isEnabled(session, event.getDataContext()); }