bensu / doo

doo is a library and lein plugin to run cljs.test on different js environments.
Eclipse Public License 1.0
324 stars 63 forks source link

Karma Chrome: logging not visible on Linux #158

Open vemv opened 6 years ago

vemv commented 6 years ago

Hi!

Same exact configuration and install procedure on OSX and Linux gives me different results: on Mac console.log is visible, but not on Linux, which makes things harder to debug.

Hopefully it's an easy one, apparently there's a '--enable-logging', flag one can pass.

bensu commented 6 years ago

Thanks for the report! Can you try adding --enable-logging? If that works well, it'd be a small PR.

vemv commented 6 years ago

Hey there!

From what I see this would require a fair bit of experimentation:

image

(https://github.com/karma-runner/karma-chrome-launcher#configuration )

vemv commented 6 years ago

(I unintentionally hit Comment too early. Continuing here)

I can give it a shot, but I'd need to know how to have locally hackable copy of Doo attached to a real project.

How do I do that? Lein "checkout deps"?

Thanks - Victor

miikka commented 6 years ago

Yeah, checkout dependencies is a good option. Or you can just run lein install in your local copy of Doo, you can then use [lein-doo "0.1.9-SNAPSHOT"] in the testing project. It's a bit more cumbersome, though: you need to run it in both library and plugin directories, and do it each time you change something.

briangorman commented 6 years ago

This seems resolved now