7

Is there a way to open DevTools programmatically?

function() {
    // Code  for Open DevTools
};
Cœur
  • 34,719
  • 24
  • 185
  • 251
Radi Cho
  • 620
  • 7
  • 21
  • 6
    You cannot open DevTools from code. Possible duplicate of this: http://stackoverflow.com/questions/16660325/open-safari-google-chrome-developer-tools-programmatically-from-javascript – Lenny Oct 03 '15 at 07:53
  • 3
    You CANNOT open devtools with code. This is by design because it would be a security hole. Read the post I linked (where they ask the same question and get the same answer) – Lenny Oct 03 '15 at 08:04
  • 1
    Possible duplicate of [Open Safari / Google Chrome developer tools programmatically from JavaScript](https://stackoverflow.com/questions/16660325/open-safari-google-chrome-developer-tools-programmatically-from-javascript) – Mike Guthrie Apr 04 '19 at 13:37

0 Answers0