You can debug though your browsers web console. Aptana intellisense does not work for the JS API in newer releases of Aptana. See this link:
Code School has a free course on how to use Chrome Dev Tools.
Chrome Dev Tools Tutorial - Code School
FireBug and the newer IE11 debug tools are similar, so I think once you learn one, it's fairly easy to transition to others if you need to.
Chrome DevTools Overview - Google Chrome
I had the second one Noah Sager but not the first. Thanks. I added to my list of links.
why did you use webstrom? it is suppot the dojo, if you set the path of esri'sdk， it will be a strong intellisense IDE, if you will use webstrom ,i can teach you the use of webstrom
Retrieving data ...