- 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
bool proceed,
                                    bool* proceed_to_fire_unload) {
  if (type_ == BROWSER_WINDOW)
    *proceed_to_fire_unload = proceed;
  else
    *proceed_to_fire_unload = true;
}
void WebContents::MoveContents(content::WebContents* source,
                               const gfx::Rect& pos) {
  Emit("move", pos);
}
void WebContents::CloseContents(content::WebContents* source) {
  Emit("close");
  if (type_ == BROWSER_WINDOW)
    owner_window()->CloseContents(source);
}
void WebContents::ActivateContents(content::WebContents* source) {