Hi Nicolas, I don't think that in case of FB you will be able to do this. When I was using mostly Intellij for FlexJS (which do not have official support as FB) I did debugging through Chrome and then get back to fix the code in AS. In order to debugging in the standard way you have two IDEs - Moonshine IDE [1] and VSCode [2]. Both ides sharing between same plugin for code completion [4], but I have to admit that although I have started to working actively on Moonshine development I didn't check how debugger works there yet. I know that in VSCode is working great.
If you choose one of those and you will have any questions/bugs raise them there [3] or [4] in case of VSCode. Definitely I will check soon. [1] http://moonshine-ide.com/ [2] https://nextgenactionscript.com/ [3] https://github.com/prominic/Moonshine-IDE [4] https://github.com/BowlerHatLLC/vscode-nextgenas Thanks, Piotr 2017-09-26 16:21 GMT+02:00 Nicolas Granon <ngra...@online.fr>: > I have a hard time finding the (up-to-date) documentation for setting up > debugging with FlashBuilder (4.7, Windows) using JS output. > > > > Debugging the SWF output works fine (with FF). > > > > I have read the information at > https://cwiki.apache.org/confluence/display/FLEX/Using+ > FlexJS+with+Adobe+Fla > sh+Builder but there is no indication on how to debug the source AS code > with the JS version (It only talks about debugging the js code in the > browser, not the AS code from FB). > > > > What I want is putting breakpoints in the IDE (in the AS code) and have the > js code link back (with a map, I presume ? but I cannot find any map output > in the js folders) the same way it does when debugging the SWF. > > > > Obviously, there must be some communication between the JS engine inside > the > browser and the IDE (like there is a communication between the Flash player > and the IDE). How do you establish that communication ? > > (I use Firefox but have no problem switching to Chrome if necessary). > > > > Can someone point me to the right direction ? > > > > Many thanks > > > > Nicolas > > > > -- > > > > -- Piotr Zarzycki mobile: +48 880 859 557 skype: zarzycki10 LinkedIn: http://www.linkedin.com/piotrzarzycki <https://pl.linkedin.com/in/piotr-zarzycki-92a53552> GitHub: https://github.com/piotrzarzycki21