Where is the Debugger or Profiler running? Why, localhost, I presume…..
Recently I installed Flex Builder 3 on a new machine and experienced an error when running/debugging Flex applications. What would happen is:
- I run a Flex application
- A popup loads asking “Where is the debugger or profiler running?”
- I select localhost
- The popup briefly disappears
- The popup returns asking “Where is the debugger or profiler running?”
Another message that showed up is “A connection to the debugger or profiler could not be established by Adobe Flash Player 9”
Clicking the cancel button removed the popup and continued running the Flex application. The debugger was not working properly.
After some searching and some trial and error, I found the Flex Debugger runs on port 3434. Unblocking this port in the firewall allowed the debugger to connect on localhost.
Surprisingly, this wasn’t documented very well. I hope this helps someone else. Programming in Flex without the debugger makes Homer something something…
Update The popup has come back! Oddly enough, the debugger runs now. I am very glad for that. However running any compiled Flex/AIR code brings up this silly “Where is the debugger?” popup. If anyone has an idea how to supress this, please let me know.
Update: This has been solved. Details are located here. Thank You to Shannon Hicks for giving me the solution.