Hi,
After a few months developing in GAE using google's standalone server (dev_appserver) and Aptana Studio I'm start to get more and more annoyed over my current development environment.
As of now there's a couple of things that bothers me.
- I don't get any code assistants from my own written methods and classes. [Solved] One have to add the project dir to the projects python path manually. Go Project -> Properties -> PyDev - PYTHONPATH. Under the tab "Source folders". Click "Add Source Folder". Select the main project folder. "OK". Now you should have code assist across you entire project.
- When debugging, the debugger doesn't provides correct watches, current variables, post data and so forth. If I assign for example some POST data to a variable it show's up correctly. But not if I look at the POST data it self.
- Some how the Aptana debugger server(it start's it own instance of dev_appserver) doesn't seem to have access to the datastore. [Solved] Found out (of course, stupid of me) you have to set the same flag in to the datastore as in the GoogleAppEngineLauncher to tell the server where to reach the datastore. Go Run -> Debug configurations. Select the configuration you using. Go to the tab "Arguments" and add the datastore flag. --datastore_path=[path to datastore]
- Feels kinda dumb to have 2 server running the same application, is there away to make the dev_appserver (I'm running the GoogleAppEngineLauncher) to break on breakpoints in another program?
If anyone has any solution to theses problems, ideas or just a completely different suggestion for development any ideas or fixes are more then welcome!
EDIT: Solved problems 1 and 3. See updated post.
..fredrik