# Custom Module and Debug Client Script

**URL:** <https://www.virtocommerce.org/t/custom-module-and-debug-client-script/252>\
**Category:** support\
**Created:** [August 19, 2020, 10:10pm UTC](https://www.virtocommerce.org/t/custom-module-and-debug-client-script/252 "2020-08-19T22:10:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianmrush](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/brianmrush/32/394_2.png) [@brianmrush](https://www.virtocommerce.org/u/brianmrush)\
**Post date:** [August 19, 2020, 10:10pm UTC](https://www.virtocommerce.org/t/custom-module-and-debug-client-script/252/1 "2020-08-19T22:10:26Z")

</div>

Hi. I created a custom module using this documentation. [https://virtocommerce.com/docs/latest/developer-guide/create-new-module/](https://virtocommerce.com/docs/latest/developer-guide/create-new-module/)

I see my custom module appearing in the menu. I have a few questions.

1. It seems I need to run vc-build compress each time for my changes to be visible in my local environment. Is that the case? Seems its using the js from the /dist folder in the archive.

2. Is there a way to have that script in an unminified format? In other words I either want the /dist/app.js to be unminified to make debugging more easy.

Thanks

Brian

---

<div class="post-metadata">

**Author:** ![OlegoO](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/olegoo/32/27_2.png) [@OlegoO](https://www.virtocommerce.org/u/OlegoO)\
**Post date:** [August 24, 2020, 6:31am UTC](https://www.virtocommerce.org/t/custom-module-and-debug-client-script/252/2 "2020-08-24T06:31:24Z")

</div>

Hi Brian.

You don’t need to do anything special. The scripts support debugging in Chrome.

[https://virtocommerce.com/docs/latest/developer-guide/deploy-module-from-source-code/#testing](https://virtocommerce.com/docs/latest/developer-guide/deploy-module-from-source-code/#testing)
