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
import { createConsumer, logger } from "@rails/actioncable"
logger.enabled = true;
…I would like to use while developing.
The problem is, turbo (JS) does not expose 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!