WeBuilder + wampserver + xDebug doesn't work

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
claudio
Posts: 1
Joined: Tue Aug 20, 2013 6:50 pm

WeBuilder + wampserver + xDebug doesn't work

Post by claudio »

Hi eveybody,
I'm in trouble with debugger configuration.
I use WeBuilder with WampServer and the preview of my php test webpage works fine,
but xDebug don't works.

the url called by WeBuilder is:
http://localhost/cs/test/debug.php?XDEB ... =webuilder&

the phpinfo() function says thet xDebug is installed, but when I call the debugger
it doesn't stop at breakpoints.

I'm using the

Wampserver (32 bits & PHP 5.4) 2.4
with
Apache : 2.4.4 MySQL : 5.6.12 PHP : 5.4.16 PHPMyAdmin : 4.0.4 SqlBuddy : 1.3.3 XDebug : 2.2.3

I have to say that I tried all combinations of WeBuilder, Eclipse, WampServer and EasyPHP but none of that worked.
Can somebody help me?

Thanks.
whitneyrm
Posts: 1
Joined: Fri Aug 30, 2013 10:52 am

Re: WeBuilder + wampserver + xDebug doesn't work

Post by whitneyrm »

You are not alone :(

I've spent the best part of two days with my WAMP setup and it just won't stop at break points.
The Help system doesn't help much either and is confusing.
I've given up.
User avatar
Nikolajs
Blumentals Software Developer
Posts: 108
Joined: Mon Sep 19, 2011 8:28 am

Re: WeBuilder + wampserver + xDebug doesn't work

Post by Nikolajs »

It would be easier to install the pre-configured PHP package from http://www.blumentals.net/download-php.php
Most likely, the debugger does not work because of php.ini file configuration. xDebug remote debugging should be turned on, and the php.ini file should have the following enabled:

Code: Select all

[xDebug]
xdebug.remote_enable = true
Nikolay Dutchuk
Blumentals Software
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: WeBuilder + wampserver + xDebug doesn't work

Post by Aivars »

If you're unable to find the issue, feel free to contact support via http://www.webuilderapp.com/support-contact.php. If you send us your php.ini we might find the problem.
Blumentals Software Programmer
sphelps
Posts: 2
Joined: Sun Sep 08, 2013 6:42 pm

Re: WeBuilder + wampserver + xDebug doesn't work

Post by sphelps »

Anyone have any luck with xDebug yet? I also have had no problem with setting up PHP preview, with either WAMP or the pre-configured PHP package, but still no breakpoints. Any suggestions appreciated.
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: WeBuilder + wampserver + xDebug doesn't work

Post by Aivars »

Can you test the simplest case scenario - a single php file with some simple code and see if breakpoints at least work there?
Blumentals Software Programmer
sphelps
Posts: 2
Joined: Sun Sep 08, 2013 6:42 pm

Re: WeBuilder + wampserver + xDebug doesn't work

Post by sphelps »

Looks like it is working now.
Below is my php.ini for xdebug setup.
I am using Wamp Server 2.2.

thanks,
Steve

Code: Select all

; XDEBUG Extension
zend_extension = "c:/wamp/bin/php/php5.3.13/zend_ext/php_xdebug-2.2.0-5.3-vc9.dll"

[xdebug]
xdebug.remote_enable=1 
xdebug.remote_handler=dbgp 
xdebug.remote_host=127.0.0.1 
xdebug.remote_port=9000 
xdebug.remote_mode=req 
xdebug.idekey=default 
xdebug.remote_log="c:\wamp\tmp\xdebug.log" 
xdebug.show_exception_trace=0 
xdebug.show_local_vars=9 
xdebug.show_mem_delta=0 
xdebug.trace_format=0 
xdebug.profiler_enable  = 1 
xdebug.profiler_output_dir ="c:\wamp\tmp"
Image
Post Reply