elm-spa icon indicating copy to clipboard operation
elm-spa copied to clipboard

Option to disable debugger when using watch/server

Open opsb opened this issue 3 years ago • 0 comments

I have some large data in my Model which is causing a stack overflow in the elm debugger. I'm not actually using the debugger so I'd like to disable it.

I wouldn't mind tackling and I see a couple of options.

  1. Command line parameter to watch/server e.g. elm-spa server --no-debug
  2. A json file for configuring elm-spa elm-spa.json
{
    development: {
       debugger: false
    }
}

@ryannhg would you be interested in having this option and if so which approach would you prefer?

opsb avatar Jan 16 '22 10:01 opsb