protected override object GetAutomationObject(string name)
        {
            if (name == "NodejsProfiling")
            {
                if (_profilingAutomation == null)
                {
                    var pane = (PerfToolWindow)this.FindToolWindow(typeof(PerfToolWindow), 0, true);
                    _profilingAutomation = new AutomationProfiling(pane.Sessions);
                }
                return(_profilingAutomation);
            }

            return(base.GetAutomationObject(name));
        }
        protected override object GetAutomationObject(string name) {
            if (name == "NodejsProfiling") {
                if (_profilingAutomation == null) {
                    var pane = (PerfToolWindow)this.FindToolWindow(typeof(PerfToolWindow), 0, true);
                    _profilingAutomation = new AutomationProfiling(pane.Sessions);
                }
                return _profilingAutomation;
            }

            return base.GetAutomationObject(name);
        }