+1 I so used to doing this nowadays. Also, this is very useful when we want to debug Node.js applications. There is no good way to setup debug points the first time with Node.js applications.
Thanks, Om On Mon, Jul 31, 2017 at 3:01 PM, Josh Tynjala <joshtynj...@gmail.com> wrote: > If there are no objections in the next 24 hours, I plan to merge my > "feature/debugger-statement" branch that adds a "debugger" statement to > ActionScript similar to the one available in JS. > > Use of the debugger statement is completely optional, but it's a useful way > to trigger the debugger from code in a cross-platform way. In other words, > the following code will just work whether you're running the generated JS > or SWF: > > if(x > 100) > { > debugger; > } > > - Josh >