Hey Harbs,

I tweaked the compiler so that a warning is printed to the console when
trying to use source maps with MXML, but it should work fine with any AS
files in the project.

- Josh

On Wed, Apr 13, 2016 at 11:27 AM, Harbs <harbs.li...@gmail.com> wrote:

> > Right now, source maps for MXML files are not supported. The compiler
> will
> > exit with an error. It should be possible to support it in the future,
> but
> > I'm focusing on pure ActionScript for now.
>
> So, a project with ANY mxml file cannot be used right now with the
> --source-map option?
>
> If so, I’ll have to wait to try it out.
>
> > I tried getting the IntelliJ IDEA debugger working with source maps. It
> > recognizes them in other places, but breakpoints won't work. I think I've
> > figured out that ActionScript files have their own type of breakpoint in
> > IDEA that isn't recognized as a JavaScript breakpoint.
>
> In-IDE debugging would be REALLY cool. I hope some of the IDE folks jump
> on the band-wagon to get that working.
>
> I wonder how hard it would be to get that working in Visual Studio
> Code[1]. (In fact, I wonder about FlexJS integration in general.) It has
> support for in-IDE debugging of TypeScript and the whole IDE is open-source.
>
> [1]https://www.visualstudio.com/products/code-vs
>
>

Reply via email to