I added flash.debugger.enterDebugger(); on the SWF side. I have not yet tested it, but it’s *supposed* to work…
> On Jul 16, 2017, at 6:34 PM, Josh Tynjala <joshtynj...@gmail.com> wrote: > > The compiler needs to be modified to support the debugger statement. > > Ideally, it would also force Flash to pause in the debugger. > > - Josh > > > On Jul 16, 2017 2:07 AM, "Harbs" <harbs.li...@gmail.com> wrote: > > I just added a debugging package to FlexJS. There are two things I don’t > know how to do: > > 1. The debugging functions should disappear in a release build of JS, but > I’m not sure how to make the same thing happen in a release build of SWF. I > don’t think a debug config is the solution, because the debug statements > should be preserved in framework code and only be stripped out for > application release builds. Does anyone have ideas on how to go about doing > that? > > 2. I have conditionalBreak commented out of CoreClasses because the > debugger statement is not recognized. Where do we need to add that? > missing.js? > > Harbs