Один из способов найти его - открыть сочетания клавиш в настройках
So apparently the command is called workbench.action.toggleDevTools
which you can execute as
vscode.commands.executeCommand('workbench.action.toggleDevTools');
On Windows it's File->Preferences->Keyboard Shortcuts
On Mac it's Code->Preferences->Keyboard Shortcuts
Of course you can also press Ctrl-Shift-P/Cmd-Shift-P and type "keyb" and it will show up.
введите описание изображения здесь