How to use WingIDE

"Chuck Esterbrook" <[email protected]>
Newsgroups gmane.comp.python.webware
Message-ID <[email protected]>
I received a direct email inquiring about this, but it could be useful
info for more than one person. Here is what I do to use WingIDE on a
Webware web site:

* Use the MakeAppWorkDir util to make a local app work dir for my
project. (Located in Webware\bin.)

* Create a run-debug.py in the work directory with these contents:
import sys, Launch
Launch.main([sys.argv[0]] + ['DebugAppServer'] + sys.argv[1:])

* Add that file to the WingIDE project if you haven't already.

* Right-click and choose "Set As Main Debug File".

Now you can run from WingIDE, set break points, examine the stack, use
a Python prompt tied to any stack prompt, etc.

I think that's it, but I haven't set up a new project in awhile so if
you have any problems or questions speak up.

WingIDE also has a "Debug > Attach to Process..." command which could
be useful to debug a test or production server. I haven't used it yet
though so I don't have any instructions except to consult their docs
or their tech support (they've always responded to me).

-Chuck

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.