Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

No way to switch off debugging #231

Open
mordrax opened this issue May 14, 2017 · 4 comments
Open

No way to switch off debugging #231

mordrax opened this issue May 14, 2017 · 4 comments

Comments

@mordrax
Copy link

mordrax commented May 14, 2017

elm make defaults to no debugging with elm make --debug putting debug into the compiled js. However, elm reactor does not have the option to switch off debugging.

My game is unplayable/testable in debug mode because of the lag (v.large state?) so I'd like to have it off for the majority of testing, only turning it on when absolutely necessary.

It would be awesome to have a switch that disabled compiling with debugging in the meantime while the debugger is being improved.

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@mikeaustin
Copy link

I've been toying around with Elm and thought it would be simple to disable debugging and the history, but I guess not?

@mordrax
Copy link
Author

mordrax commented Jul 29, 2017

@mikeaustin this is only if you're using elm-reactor for testing your elm app. I'm outputting to js using elm-make and you can switch on/off debug using the --debug flag and since i need to do this anyway because i'm using external css it's not really an issue.

@mikeaustin
Copy link

It would still be nice to have an option to disable debugging in elm-react when starting and prototyping a project that uses a timer. Or maybe better, a way to choose which subscriptions get logged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants