How to debug a Flex app on a live server
Submitted by jrowny on Wed, 10/22/2008 - 07:00
Have you ever launched a Flex app into a production environment only to find out that it doesn't work?! You probably wanted run the debugger right then and there to trace the problem. Here's how using Flex Builder 3.
- Step 1 Overwrite the version on the server with the debug version usually found in your bin-debug folder while developing.
- Step 2 In Flex builder go to the top menu and select Project -> Properties
- Step 3 Go to "Run/Debug" Settings
- Step 4 Your app should be listed under Launch Configuratoins, select it and press "Edit"
- Step 5 Uncheck the "use defaults" button in the lower portion and then in the first field called "debug" type the URL of your app on the server
- Step 6 Hit Apply, and then go ahead and debug! You're good to go!
Obviously once you've solved the problem you'll want to export a release build to place on the server as it will be much smaller.
Bookmark/Search this post with:
Recent comments
1 week 3 days ago
2 weeks 2 days ago
2 weeks 2 days ago
11 weeks 6 days ago
12 weeks 1 day ago
12 weeks 1 day ago
14 weeks 8 hours ago
19 weeks 2 days ago
28 weeks 2 days ago
34 weeks 5 hours ago