Default debug configuration for a Flex project

Hello,

I have pom project that includes several Flex (mojos) projects. When I write click the projects and choose Debug then a php debug configuration is created instead of a Flex one. Is there any way to set that?
Also, are there parameters I can use when setting up the debugging configuration defaults? For example for the Flex defaults I would like to set it to launch a URL that looks something like "http://localhost:8080/${project.name}.swf", is that possible?

Thanks,
Guy Marom

4 comments
Comment actions Permalink

Run | Edit Configurations, then click [+] and create new Flex run configuration.
Right click on Flex main class also allows to automatically create Flex run configuration.

0
Comment actions Permalink

But that's exactly my problem, when I right-click a project that doesn't have a debug configuration yet and choose the debug option a PHP debug configuration is created instead of a Flex one.

0
Comment actions Permalink

Select 'Run' in main menu bar and select 'Edit Configurations'. There you are able to create Run/Debug configuration of any type.

Also right click on Flex main class (respective *.as or *.mxml file) creates main-class based run configuration automatically. Of course only if your IDEA project is configured properly.

0

Please sign in to leave a comment.