How to setup PHPED 5.2 to debug moodle (both local / remote) |
|
OK, I'm using XAMPP on my local Windows development machine and I'm trying to use PHPED to debug moodle (www.moodle.org). I'm using the bundled version (moodle packages: http://download.moodle.org/windows/) that come with both moodle source codes and XAMPP lite version. I installed them into C:\amp\
All the PHP codes are located in c:\amp\moodle\ Questions: 1. In the project properties settings "Mapping", for the run mode should I be using HTTP mode (3rd party WEB server) for the best result? For open source PHP project like moodle or drupal, which Run mode would be most ideal for local development workstations? Also what should I put in for the "Remote root directory" for my l 2. If I have write access to some open source PHP projects, under the Project Properties -> Properties tab -> Publishing , what should I put in here? As I'm using sf.net but there is NO option to put in my sf.net account (CVS) so that I could do CVS commit directly in PhpED? 3. For local installation, should I still use the debugger wizard mentioned here? http://www.nusphere.com/products/dbg_wizard_download.htm 4. For remote debugging (say on our remote testing server), again what should I pick for the "Run mode"? Do I need the dbg wizard thingy? 5. What is that "Code insight includes:" option mean? Thanks! |
||||||||||||
|
Site Admin
|
Since you have Apache and work with it, you need to set "http mode/3rd party web server" run mode. Remote root -> full path to htdocs directory Project root is also Apache's htdocs URL -> somewhat like http://localhost/
you can use CVS but first you have to select it in the project properties. publishing is supposed to work with FTP, SFTP or WebDAV servers, not CVS.
yes sure.
yes, it's suitable for this case too.
if you have some libraries used in your project but not located in the project directory tree, you may want to add their directories (only topmost) into the code insight includes. In this case all info about all functions, classes, constants, methods, variables and properties in those libraries will be available in a) Code Explorer window b) in Code Completion popup and in c) Function/Method argument list tooltips. |
||||||||||||||||||||||
_________________ The PHP IDE team |
Site Admin
|
it's there since 2001:
|
||||||||||||
_________________ The PHP IDE team |
How to setup PHPED 5.2 to debug moodle (both local / remote) |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by