If “0 Internal Web Browser” is not available, I found that “0 Default system Web Browser” doesn’t seem to work for me and that I have to choose either Firefox or IE in order for debugging to work.I have found that this option is only present if IE is running before eclipse is launched, otherwise this option is not available. If “0 Internal Web Browser” is available, you can choose that to have the browser inside eclipse. Change to PHP Debug Perspective: Window->Open Perspective->PHP Debug.Don’t ever delete this project from eclipse or it will delete your entire docroot.You’ll now see a screen that gives you 2 options, choose the 1st option “Create project in directoryName (Deleting the project will delete the entire directoryName folder)”, and click “OK”.Project Contents: uncheck “Default”, and browse to the document root of your web server.Project Name: assign a name such as “Server-docroot”.Eclipse Workbench, do: “Window->Open Perspective->PHP”.“Welcome” screen, click on “Workbench” icon on right side towards the middle.“Workspace Launcher” dialog box will appear, I just keep the default and press “OK”.Execute the c:\eclipse\eclipse.exe file.Execute Eclipse for the first time Setup XDebug.Move the “eclipse” directory (created during unzip) to c:\eclipse (I tried using “c:\Program Files\eclipse” instead of c:\eclipse, but it didn’t seem to work for me, so use c:\eclipse).Unzip the all-in-one zip file to a temporary directory.On the mirror selection page, choose a mirror to download from and download the.On the release build page, select the windows ZIP file in the “PDT All in One Package” area.On the download page, click the link for the latest release build in the “Build Name” column.php file with “phpinfo()” in your browser Test that the Xdebug install was successful.Restart your webserver for the php.ini to take effect.zend_extension_manager.optimizer_ts = "C:\xampp\php\zendOptimizer\lib\Optimizer" zend_extension_ts = "C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll" For example, all of this should be commented out (using “ ”):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |