NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
How to setup PHPED 5.2 to debug moodle (both local / remote)


Joined: 20 Oct 2007
Posts: 10
Reply with quote
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!
View user's profileFind all posts by ohmanSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
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

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/

Quote:
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?

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.

Quote:
3. For local installation, should I still use the debugger wizard mentioned here? http://www.nusphere.com/products/dbg_wizard_download.htm


yes sure.

Quote:
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?

yes, it's suitable for this case too.

Quote:
5. What is that "Code insight includes:" option mean?

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
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 20 Oct 2007
Posts: 10
Reply with quote
Quote:
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.


Hi there, well in the near future does PhpED has any plan to support CVS commit directly from within the program? Thanks!
View user's profileFind all posts by ohmanSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
it's there since 2001:


_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
How to setup PHPED 5.2 to debug moodle (both local / remote)
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic