title: How to debug SWF out of IDE?
body: <p>I'm using FDT and Apache Flex 4.12 SDK in a project. I need to debug some exceptions triggered while the SWF interacts with JavaScript calls (using ExternalInterface), so I need to debug it while running at navigator.</p>
  
  <p>I know I need to have the Debug version of Flash Player, and I already installed it. The debug version shows a menu option called "Debugger".</p>
  
  <p>I already configured the mm.cfg file (file location and config options found <a href="http://helpx.adobe.com/flash-player/kb/configure-debugger-version-flash-player.html" rel="nofollow">here</a>) at correct location with the following options:</p>
  
  <pre><code>ErrorReportingEnable=1
  TraceOutputFileEnable=1
  </code></pre>
  
  <p>The tested Flash Player versions are 11.2 (GNU/Linux) and 13.x (Windows 8). Testes web browsers are Google Chrome, Mozilla Firefox and Internet Explorer.</p>
  
  <p>The "Debugger" option at player is disabled, but <a href="http://forums.adobe.com/thread/22420" rel="nofollow">this link</a> told us we need compile the SWF with debug symbols. So, I added the following options to the compiler:</p>
  
  <pre><code>-debug=true
  -define=CONFIG::debugging,true
  </code></pre>
  
  <p>Using FDT, I can find the compiler arguments at Project properties -> FDT Compiler -> Compiler arguments.</p>
  
  <p>Unfortunately, the debug option still disabled! What I'm missing? Old Flash Player versions show us a box with a the stack trace.</p>
  
  <p>Additionally, I found the Firefox/Chrome extension FlashFirebug (link for Firefox version <a href="https://www.google.com.br/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;uact=8&amp;ved=0CC8QFjAA&amp;url=https://addons.mozilla.org/pt-br/firefox/addon/flashfirebug/&amp;ei=jaNJU5uTA8qU0QHck4CICw&amp;usg=AFQjCNGDPgYEbDivYo77ggPJodQKMi-GYw&amp;sig2=NpMq3r3oOlwtU7siVXPxGw&amp;bvm=bv.64542518,d.dmQ" rel="nofollow">here</a>), but there's no free version anymore and I don't want to pay since all I need is to print the stack trace. Direct the output to the browser console using ExternalInterface does not works always as expected, so I really need the native Flash stack trace.</p>