Stack Exchange
Stack Overflow
Questions
Tags
Users
About
Stack Overflow
Public
Questions
Tags
Users
About
JS - Programmatically open DevTools
Asked
Oct 03 '15 at 07:51
Active
Nov 12 '19 at 06:43
Viewed
3,642 times
9
0
Is there a way to open DevTools programmatically?
function() { // Code for Open DevTools };
javascript
google-chrome
google-chrome-devtools
edited Nov 12 '19 at 06:43
Cœur
37,241
25
195
267
asked Oct 03 '15 at 07:51
Radi Cho
680
7
21
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
0 Answers
0