When testing my application in IDE, I wanted to use some hard coded test data instead of Every time loading the dynamic data. System.capabilities.isDebugger is the boolean property which is true when we are testing in IDE or special Debug Player.

Here is the sample code that I’ve used

[cc lang=”actionscript3″]

if (!System.capabilities.isDebugger) {
} else {