- 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
if (!url.is_valid()) {
    Emit("did-fail-load",
         static_cast<int>(net::ERR_INVALID_URL),
         net::ErrorToShortString(net::ERR_INVALID_URL),
         url.possibly_invalid_spec(),
         true);
    return;
  }
  content::NavigationController::LoadURLParams params(url);
  GURL http_referrer;
  if (options.Get("httpReferrer", &http_referrer))
    params.referrer = content::Referrer(http_referrer.GetAsReferrer(),
                                        blink::WebReferrerPolicyDefault);
  std::string user_agent;
  if (options.Get("userAgent", &user_agent))
    SetUserAgent(user_agent);
  std::string extra_headers;
  if (options.Get("extraHeaders", &extra_headers))
    params.extra_headers = extra_headers;
  params.transition_type = ui::PAGE_TRANSITION_TYPED;
  params.should_clear_history_list = true;
  params.override_user_agent = content::NavigationController::UA_OVERRIDE_TRUE;
  web_contents()->GetController().LoadURLWithParams(params);
  
  
  
  const auto view = web_contents()->GetRenderWidgetHostView();
  WebContentsPreferences* web_preferences =