# Any way to turn on internal JS logger of wrapped ACable?

**URL:** <https://discuss.hotwired.dev/t/any-way-to-turn-on-internal-js-logger-of-wrapped-acable/5963>\
**Category:** General\
**Created:** [September 5, 2024, 9:08pm UTC](https://discuss.hotwired.dev/t/any-way-to-turn-on-internal-js-logger-of-wrapped-acable/5963 "2024-09-05T21:08:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![qd3v](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/qd3v/32/3851_2.png) [@qd3v](https://discuss.hotwired.dev/u/qd3v)\
**Post date:** [September 5, 2024, 9:08pm UTC](https://discuss.hotwired.dev/t/any-way-to-turn-on-internal-js-logger-of-wrapped-acable/5963/1 "2024-09-05T21:08:03Z")

</div>

I’m a backend-guy, so sorry if I’m missing something. As I understand, turbo (JS part) incorporates action cable code, so importing turbo is enough to start the work. Ok, but AC provided neat and very helpy

```javascript
import { createConsumer, logger } from "@rails/actioncable"
logger.enabled = true;

```

…I would like to use while developing.

The problem is, turbo (JS) [does not expose](https://github.com/hotwired/turbo-rails/blob/main/app/assets/javascripts/turbo.js#L5877-L5893) it. Btw, this `index` var looks like does nothing? I see logger as property of it…

Simple update to `export {Turbo$1 as Turbo, cable, logger};` does the job of course 🙂  
Is this intended logger hide? Any workarounds?  
Everything is updated to the latest versions.  
Thanks!
