- Electron version: v0.37.5
- Operating system: Any

It would be useful if we can open DevTools choosing all of it's available position: detached, docked right or docked bottom.

The new API could be something like this:
# webContents.openDevTools([options])

Opens the devtools.
- options Object (optional)
  - mode String - ['detached' | 'right' | 'bottom'] . opens DevTools in specified position. Defaults to last used mode.
  - detach Boolean - opens DevTools in a new window (deprecated, use mode: 'detached')

atom/browser/api/atom_api_web_contents.cc
} else {
    content::WebContents::CreateParams params(session->browser_context());
    web_contents = content::WebContents::Create(params);
  }
  Observe(web_contents);
  AttachAsUserData(web_contents);
  InitWithWebContents(web_contents);
  managed_web_contents()->GetView()->SetDelegate(this);
  
  new WebContentsPreferences(web_contents, options);
  
  WebContentsPermissionHelper::CreateForWebContents(web_contents);
  
  AtomSecurityStateModelClient::CreateForWebContents(web_contents);
  web_contents->SetUserAgentOverride(GetBrowserContext()->GetUserAgent());
  if (is_guest) {
    guest_delegate_->Initialize(this);
    NativeWindow* owner_window = nullptr;
    if (options.Get("embedder", &embedder_) && embedder_) {
      
      auto relay =
          NativeWindowRelay::FromWebContents(embedder_->web_contents());
      if (relay)
        owner_window = relay->window.get();
    }
    if (owner_window)
      SetOwnerWindow(owner_window);
  }
}
WebContents::~WebContents() {