The dev tools shortcut is Cmd + Option + I
This is standardised across browsers, and also is the shortcut to close the dev tools
In FF and Chromium, Cmd + W closes the tab even if focus is in the dev tools (maybe in other browsers also)
Vote to maintain the the standard and maintain a smooth experience here for those who come from Chrome and FF