- 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
SetOwnerWindow(owner_window);
  }
}
WebContents::~WebContents() {
  
  if (managed_web_contents()) {
    
    
    if (type_ == WEB_VIEW)
      guest_delegate_->Destroy();
    
    
    
    RenderViewDeleted(web_contents()->GetRenderViewHost());
    WebContentsDestroyed();
  }
}
bool WebContents::AddMessageToConsole(content::WebContents* source,
                                      int32_t level,
                                      const base::string16& message,
                                      int32_t line_no,
                                      const base::string16& source_id) {
  if (type_ == BROWSER_WINDOW) {
    return false;
  } else {
    Emit("console-message", level, message, line_no, source_id);
    return true;
  }
}
void WebContents::OnCreateWindow(const GURL& target_url,