- Electron version: 0.37.2
- Operating system: OS X (El Capitan 10.11.3)

If you use `debugger` it will not pause the execution of the program. If I downgrade to electron version `0.36.x`, then it works.

Same happens when you set up breakpoints in the Developer Tools.

![Debugger issue](http://i.imgur.com/jps3VVH.gif)

atom/browser/api/atom_api_web_contents.cc
Emit("activate");
}
bool WebContents::IsPopupOrPanel(const content::WebContents* source) const {
  return type_ == BROWSER_WINDOW;
}
void WebContents::HandleKeyboardEvent(
    content::WebContents* source,
    const content::NativeWebKeyboardEvent& event) {
  if (event.windowsKeyCode == ui::VKEY_ESCAPE && is_html_fullscreen()) {
    
    ExitFullscreenModeForTab(source);
  } else if (type_ == BROWSER_WINDOW) {
    owner_window()->HandleKeyboardEvent(source, event);
  } else if (type_ == WEB_VIEW && guest_delegate_) {
    
    guest_delegate_->HandleKeyboardEvent(source, event);
  }
}
void WebContents::EnterFullscreenModeForTab(content::WebContents* source,
                                            const GURL& origin) {
  auto permission_helper =
      WebContentsPermissionHelper::FromWebContents(source);
  auto callback = base::Bind(&WebContents::OnEnterFullscreenModeForTab,
                             base::Unretained(this), source, origin);
  permission_helper->RequestFullscreenPermission(callback);
}
void WebContents::OnEnterFullscreenModeForTab(content::WebContents* source,