void InspectorDebuggerAgent::enable() { m_instrumentingAgents->setInspectorDebuggerAgent(this); // FIXME(WK44513): breakpoints activated flag should be synchronized between all front-ends scriptDebugServer().setBreakpointsActivated(true); startListeningScriptDebugServer(); if (m_listener) m_listener->debuggerWasEnabled(); }
void InspectorDebuggerAgent::enable() { if (m_enabled) return; scriptDebugServer().setBreakpointsActivated(true); startListeningScriptDebugServer(); if (m_listener) m_listener->debuggerWasEnabled(); m_enabled = true; }