I'd like to be able to see time travelling debugger when using Elm in combination with Parcel. In plain elm it's achieved by passing --debug flag to compiler.
solution 1 - I can do PR for.
Solution 2 I need some help to figure out which flags can be used.
@Maxim-Filimonov this sounds great, are you planning to reopen that PR?
At some point - next week is quite full on. Looking for a new job :\
Will try to have a look at this week in November. Feel free to reopen and apply the same changes I did
Adding options.debug = !options.optimize;
before generating compiled output in parse() function works for me.

Merged 馃巻
I believe there is a bug in the current elm compiler with --debug option as follows.
https://github.com/elm/compiler/issues/1851
This bug sometimes prevents compiling non-trivial apps. So until when it is resolved by them, could you disable this functionality ?
Or is it possible switch it with a command line option ?
@kyasu1 just submitted quick PR to disable until compiler issue is resolved.
@kyasu1 just submitted quick PR to disable until compiler issue is resolved.
The --debug issue has been resolved with the release of Elm 0.19.1.
Most helpful comment
The
--debugissue has been resolved with the release of Elm 0.19.1.