elm-lang / elm-reactor

Interactive development tool that makes it easy to develop and debug Elm programs.
BSD 3-Clause "New" or "Revised" License
428 stars 63 forks source link

No way to switch off debugging #231

Open mordrax opened 7 years ago

mordrax commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

mordrax commented 7 years ago

@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 commented 7 years ago

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.