# Debug code for a collapsible section with multi state boxes

**URL:** <https://forum.wixstudio.com/t/debug-code-for-a-collapsible-section-with-multi-state-boxes/57008>\
**Category:** Ask the community\
**Tags:** technical-talk, code, wix\
**Created:** [March 7, 2024, 10:39am UTC](https://forum.wixstudio.com/t/debug-code-for-a-collapsible-section-with-multi-state-boxes/57008 "2024-03-07T10:39:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user1701](https://avatars.discourse-cdn.com/v4/letter/u/e47774/32.png) [@user1701](https://forum.wixstudio.com/u/user1701)\
**Post date:** [March 7, 2024, 10:39am UTC](https://forum.wixstudio.com/t/debug-code-for-a-collapsible-section-with-multi-state-boxes/57008/1 "2024-03-07T10:39:24Z")

</div>

I have written the code for a collapsible section with multi state boxes in Wix Editor. In preview and publish mode the function works however in preview mode I get the following message in the developer console section;

To debug this code in your browser’s dev tools, open bal42.js.

Using Safari on a Mac computer. I am trying to understand what the above message means and how I fix it! I have read wix articles but I don’t really know what I am doing!!

Any guidance would be much appreciated. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![codequeen](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/codequeen/32/88960_2.png) [@codequeen](https://forum.wixstudio.com/u/codequeen)\
**Post date:** [March 7, 2024, 2:24pm UTC](https://forum.wixstudio.com/t/debug-code-for-a-collapsible-section-with-multi-state-boxes/57008/2 "2024-03-07T14:24:10Z")

</div>

It’s not an error, it’s just a message.

IF you ever need to debug your code then that would be the way to do it via the browser inspect tools.

An error would actually show up in read and tell you something is wrong.
