Jan 05 2021 01:28 PM
Hello Insiders! We've heard a lot of feedback in the Microsoft Edge DevTools from customers who accidentally press F12
and didn't intend to launch or use the DevTools. To help solve this problem, we've added a new setting under Developer Tools called Open the DevTools when the F12 key is pressed. With this new setting toggled on, selecting F12
on your keyboard opens the DevTools. With this setting toggled off, selecting F12
no longer opens the DevTools. This setting is currently available in Canary and Dev and will be available in the next version of Beta.
To access this setting, complete the following actions.
Choose the icon the Settings and more (...
) icon > Settings.
F12
to confirm that DevTools no longer open.Please note that other ways of opening the DevTools, like pressing Ctrl
+Shift
+I
will continue to work even when the Open the DevTools when the F12 key is pressed setting is turned off. Check out our docs for more info: Open Microsoft Edge DevTools - Microsoft Edge Development | Microsoft Docs
Thanks,
The Microsoft Edge DevTools team
Jan 05 2021 07:32 PM
Jan 06 2021 04:36 AM
Jan 06 2021 01:23 PM
Jan 09 2021 04:46 PM
Sep 15 2021 09:39 PM
Sep 17 2021 04:27 AM
Nov 05 2021 04:31 AM
Hi @zghadyali ,
I have the opposite issue : I am trying to open the DevTools using either F12 or Crtl + Shift + I, but nothing happens on Edge. It works fine on Firefox, and weither I turn on or off the "Open DevTools" settings, nothing happens... How to solve this on Edge to be able to get the DevTools (I precise I'm on a professional laptop) ?
Thanks
Nov 05 2021 03:42 PM
Hi @charlotteg71! Thanks for reaching out! I'm so sorry to hear about the issues you're encountering opening DevTools. To unblock yourself immediately, can you try right-clicking the web content you want to debug in Edge and selecting the Inspect entry in the menu? This should open DevTools for you. Here's a screenshot of this menu:
Once you are able to open DevTools, please send us feedback via the Feedback icon in the top-right corner of the tools and include diagnostic data so the DevTools team can take a look at what's happening. Here's a screenshot of the Feedback icon:
We definitely want you to be able to access our tools. Thanks!
Dec 03 2021 07:11 AM
Jan 11 2023 12:05 PM
I was surprised that all of a sudden pressing the F12 key did nothing. Checking the short cut revealed I'd have to press Ctrl + Shift + I, and I just asked myself, Why? How long has F12 for development tools been a thing? F1 has a long time been associated with Help for any program, if I press F1 by mistake for any other reason, should Microsoft change it? The F12 key was there and anyone who used development tools would know what it was for. And if you pressed it by mistake for something else you would see that it's not the key to press for what you intended. Press the right key. I have pressed F11 by mistake and surprised that development tools did not come up. It didn't puzzle me because when I pressed F12 development tool came up and I realized I had accidentally press F11. SO, what happens if someone presses Ctrl + Shift + O by mistake?
Jan 11 2023 12:22 PM
Aug 29 2024 01:47 AM
Aug 29 2024 08:31 AM
@MS2000 Hello! We don't have a policy for specifically turning off the `F12` keyboard shortcut for large groups of users but we do have one for whether or not the DevTools in Microsoft Edge should be enabled. See DeveloperToolsAvailability for more info. Cheers!
Sep 03 2024 07:06 AM
@zghadyali Hi,
Thank you for your response.
I already know the policy to disable DevTools, because I apply it. I have to disable DevTools because of a "special" web app that we have, wich uses the F12 fonction to open a menu. That's the reason why I am trying to find a way to disable F12 for DevTools, because instead of opening the menu, F12 opens DevTools, And I have to disable it to thousands of computers. I cannot ask for change on the "special" web app because I know they will not change that behaviour (end of support very soon).
So I disabled DevTools, but it's difficult then to debug when I need to open DevTools on a particular computer when a random bug appears. I am experiencing that rigth now, a bug that appears on random machines, and I cannot use DevTools.
Do you know if there is a way to disable the F12 shortcut in another way than using a policy ? Maybe setting registry values ?
Best regards,
MS
Sep 10 2024 04:27 AM - edited Sep 10 2024 04:27 AM
I reply to my last question.
Actually, there is a policy that can be used to disable MSEdge shortcuts : https://learn.microsoft.com/en-us/deployedge/edge-learnmore-configurable-edge-commands
I can use it to disable the "dev_tools_toggle" command by pressing F12 key.
Hope this may help someone, one day.
Regards.
MS