# How to debug in WebStorm?

**URL:** <https://community.grafana.com/t/how-to-debug-in-webstorm/4203>\
**Category:** Grafana Plugin Development\
**Created:** [December 6, 2017, 3:57pm UTC](https://community.grafana.com/t/how-to-debug-in-webstorm/4203 "2017-12-06T15:57:57Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![ctote](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/ctote/32/2282_2.png) [@ctote](https://community.grafana.com/u/ctote)\
**Post date:** [December 11, 2017, 3:20pm UTC](https://community.grafana.com/t/how-to-debug-in-webstorm/4203/9 "2017-12-11T15:20:33Z")

</div>

Ok, yeah I can break there also - but can you set a breakpoint in `scripted.js` and have it hit (as in, the actual script definition in /public/dashboards)? This looks like it’s boiling down to a misunderstanding of how the dashboard scripts are served (and a lack of knowledge of Javascript in general maybe).

I was hoping to set a breakpoint in my script file, but it looks like it’s serving that file as an anonymous (or some other JS terminology 🙂) file that I can’t set breakpoints in beforehand?

---

_[View the full topic](https://community.grafana.com/t/how-to-debug-in-webstorm/4203)._
