Adding kino as a dependency to project "breaks" dbg/2
teamon opened this issue · comments
I've been using livebook connected to a remote live app. In order to get access to kino I've added it as a dependency in mix.exs
. After doing that, I've lost output from dbg/2
calls, both in development and in test.
Is this expected behaviour?
If so, should there be some warning about it?
UPDATE:
I've figured this is due to kino doing this:
Line 7 in 2ef471d
Yeah, maybe we should detect if we are inside Livebook before doing this? Any suggestion on how to do this detection @jonatanklosko? We could check for a module... but iirc they are all private? Alternatively we could use an env var.
💜 💜 💜