# VSCode extension for js rules and variables

**URL:** <https://community.openhab.org/t/vscode-extension-for-js-rules-and-variables/168387>\
**Category:** Beginners\
**Created:** [February 13, 2026, 2:15pm UTC](https://community.openhab.org/t/vscode-extension-for-js-rules-and-variables/168387 "2026-02-13T14:15:01Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![s0170071](https://community.openhab.org/user_avatar/community.openhab.org/s0170071/32/20561_2.png) [@s0170071](https://community.openhab.org/u/s0170071)\
**Post date:** [March 22, 2026, 11:07am UTC](https://community.openhab.org/t/vscode-extension-for-js-rules-and-variables/168387/16 "2026-03-22T11:07:26Z")

</div>

Check this out:

> [@Debug JS files in VSC with a debugger (how-to)](https://community.openhab.org/t/debug-js-files-in-vsc-with-a-debugger-how-to/168861):
>
> Hi all, anyone ever wished they could debug their OH rules with a debugger ? I mean like using breakpoints, watching variables and all that ? Here you go (JS files only) slight_smile OpenHAB ships GraalJS but not the debug instrument. You supply it. Four steps: Download 3 JARs, patch their manifest. The JARs (chromeinspector-tool, profiler-tool, json) are plain Maven artifacts. They need one manifest header added (Fragment-Host: org.openhab.osgiify.org.graalvm.truffle.truffle-api) so OS…

---

_[View the full topic](https://community.openhab.org/t/vscode-extension-for-js-rules-and-variables/168387)._
