# Open DevTools with an addon

**URL:** <https://discourse.mozilla.org/t/open-devtools-with-an-addon/22025>\
**Category:** Development\
**Created:** [November 18, 2017, 3:59pm UTC](https://discourse.mozilla.org/t/open-devtools-with-an-addon/22025 "2017-11-18T15:59:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dragoeco](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/dragoeco/32/23121_2.png) [@dragoeco](https://discourse.mozilla.org/u/dragoeco)\
**Post date:** [November 18, 2017, 3:59pm UTC](https://discourse.mozilla.org/t/open-devtools-with-an-addon/22025/1 "2017-11-18T15:59:58Z")

</div>

Is there a way to open the developer tools box with a button/addon? I’ve tried by triggring the F12 key but this seems not working for security reason. Thanks

---

<div class="post-metadata">

**Author:** ![freaktechnik](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/freaktechnik/32/37766_2.png) [@freaktechnik](https://discourse.mozilla.org/u/freaktechnik)\
**Post date:** [November 19, 2017, 1:19am UTC](https://discourse.mozilla.org/t/open-devtools-with-an-addon/22025/2 "2017-11-19T01:19:57Z")

</div>

There is currently no way to open the dev tools from your extension.

---

<div class="post-metadata">

**Author:** ![dragoeco](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/dragoeco/32/23121_2.png) [@dragoeco](https://discourse.mozilla.org/u/dragoeco)\
**Post date:** [November 20, 2017, 1:03pm UTC](https://discourse.mozilla.org/t/open-devtools-with-an-addon/22025/3 "2017-11-20T13:03:10Z")

</div>

Thanks to confirm what I thought.
