# When look at kibana, how can we use debug mode in vscode

**URL:** <https://discuss.elastic.co/t/when-look-at-kibana-how-can-we-use-debug-mode-in-vscode/113407>\
**Category:** Kibana\
**Created:** [December 28, 2017, 7:02am UTC](https://discuss.elastic.co/t/when-look-at-kibana-how-can-we-use-debug-mode-in-vscode/113407 "2017-12-28T07:02:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![whoami](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@whoami](https://discuss.elastic.co/u/whoami)\
**Post date:** [December 28, 2017, 7:02am UTC](https://discuss.elastic.co/t/when-look-at-kibana-how-can-we-use-debug-mode-in-vscode/113407/1 "2017-12-28T07:02:32Z")

</div>

when look at kibana, how can we use debug mode in vscode

what's the right config! please just post me a lanuch.json config for vscode

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [December 28, 2017, 6:06pm UTC](https://discuss.elastic.co/t/when-look-at-kibana-how-can-we-use-debug-mode-in-vscode/113407/2 "2017-12-28T18:06:56Z")

</div>

I don't use VSCode, so might not be of much help. I pinged the team to see if anyone does.

It's a node application, and it appears the [examples](https://code.visualstudio.com/docs/editor/debugging) for VSCode are also for node. Maybe those will work. Is there information about the structure of the application you need for the configuration?

The entrypoint is `scripts/kibana.js`

I usually debug using `node --debug-brk --inspect scripts/kibana.js`

---

<div class="post-metadata">

**Author:** ![whoami](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@whoami](https://discuss.elastic.co/u/whoami)\
**Post date:** [January 5, 2018, 7:09am UTC](https://discuss.elastic.co/t/when-look-at-kibana-how-can-we-use-debug-mode-in-vscode/113407/3 "2018-01-05T07:09:50Z")

</div>

this is no entrypoint `scripts/kibana.js` in kibana 5.x, even not exist in kibana 6.x

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [January 5, 2018, 4:10pm UTC](https://discuss.elastic.co/t/when-look-at-kibana-how-can-we-use-debug-mode-in-vscode/113407/4 "2018-01-05T16:10:53Z")

</div>

`scripts/kibana.js` is only in master (7.0). Use `bin/kibana` when developing against previous versions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 2, 2018, 4:11pm UTC](https://discuss.elastic.co/t/when-look-at-kibana-how-can-we-use-debug-mode-in-vscode/113407/5 "2018-02-02T16:11:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
