hunk.code_window:   [CONTEXT_MENU_ACTIONS.INTERCOM]: {
       icon: "support",
       text: createMessage(DEBUGGER_APPSMITH_SUPPORT),
       onSelect: (error: Message) => {
         // Search through the omnibar
         if (intercomAppID && window.Intercom) {
           window.Intercom(
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:       AnalyticsUtil.logEvent("DEBUGGER_CONTEXT_MENU_CLICK", {
           menuItem: CONTEXT_MENU_ACTIONS.INTERCOM,
         });
  
hunk.file_path: app/client/src/components/editorComponents/Debugger/ContextualMenu.tsx
hunk.type: add
file: import React, { useEffect } from "react";
  import { useSelector } from "react-redux";
  import styled from "styled-components";
  import { getFilteredErrors } from "selectors/debuggerSelectors";
  import LogItem, { getLogItemProps } from "./LogItem";
  import { BlankState } from "./helpers";
  import { createMessage, NO_ERRORS } from "constants/messages";
  import { getCurrentUser } from "selectors/usersSelectors";
  import { bootIntercom } from "utils/helpers";
  
  const ContainerWrapper = styled.div`
    overflow: hidden;
    height: 100%;
  `;
  
  const ListWrapper = styled.div`
    overflow: auto;
    height: 100%;
  `;
  
  function Errors(props: { hasShortCut?: boolean }) {
    const errors = useSelector(getFilteredErrors);
    const currentUser = useSelector(getCurrentUser);
  
    useEffect(() => {
      bootIntercom(currentUser);
    }, [currentUser?.email]);
  
    return (
      <ContainerWrapper>
        <ListWrapper className="debugger-list">
          {!Object.values(errors).length ? (
            <BlankState
              hasShortCut={props.hasShortCut}
              placeholderText={createMessage(NO_ERRORS)}
            />
          ) : (
            Object.values(errors).map((e, index) => {
              const logItemProps = getLogItemProps(e);
              // Expand all errors by default
              return (
                <LogItem key={`debugger-${index}`} {...logItemProps} expand />
              );
            })
          )}
        </ListWrapper>
      </ContainerWrapper>
    );
  }
  
  export default Errors;
  