New install, custom server, no debugging :(

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

New install, custom server, no debugging :(

Postby colinwiseman » May 20th, 2013, 7:39 pm

Hello,

am trying to get your plugin to debug a wordpress site, but I cannot seem to get the debugger to work.

Everything is saying it should be working. I am using VS2010, IIS7, custom webserver, port 8700 (and php.info is saying the same as I have a tonne of other .net websites running on different ports).

Can you help?

Colin
colinwiseman
 
Posts: 7
Joined: May 20th, 2013, 7:32 pm

Re: New install, custom server, no debugging :(

Postby Miloslav Beno » May 20th, 2013, 7:57 pm

Hi Colin,

Thanks for contacting us.

Have you checked that XDebug port setup in PHP Tools match with your PHP runtime (default is 9000).

phpinfo() output is showing XDebug extension?
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: New install, custom server, no debugging :(

Postby colinwiseman » May 20th, 2013, 8:09 pm

hello, thanks for the help. This is what is in my php.ini file:

[XDEBUG]
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 8700
xdebug.remote_mode = req
xdebug.idekey="php-vs"
[PHP_XDEBUG-2.2.1-5.4-VC9-NTS]
zend_extension="C:\Program Files (x86)\PHP\ext\php_xdebug-2.2.2-5.4-vc9-nts.dll"

And yes I have this in my phpinfo()

xdebug

xdebug support enabled
Version 2.2.2
IDE Key php-vs

Am trying to debug a wordpress site if that makes a difference?
colinwiseman
 
Posts: 7
Joined: May 20th, 2013, 7:32 pm

Re: New install, custom server, no debugging :(

Postby Miloslav Beno » May 20th, 2013, 8:22 pm

Am trying to debug a wordpress site if that makes a difference?

No, it's all the same.

Settings seems to be ok, just make sure that xdebug.remote_port setting is the same as in PHP Tools options (Visual Studio Tools – Options – PHP tools – Advanced).
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: New install, custom server, no debugging :(

Postby colinwiseman » May 20th, 2013, 8:25 pm

Yes. That is showing as 8700 as well.
colinwiseman
 
Posts: 7
Joined: May 20th, 2013, 7:32 pm

Re: New install, custom server, no debugging :(

Postby colinwiseman » May 20th, 2013, 8:26 pm

Could my version of visual studio be wrong? Visual Studio 2010 Premium.
colinwiseman
 
Posts: 7
Joined: May 20th, 2013, 7:32 pm

Re: New install, custom server, no debugging :(

Postby Miloslav Beno » May 20th, 2013, 8:35 pm

All the visual studio 2010 editions are supported except Express.

Could you try stop the debugging, exit the PHP Tools Debugger Systray. Maybe restart Vs to be sure and then try it again?

Do you have PHP project opened? When you press F5 what do you see in output window?
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: New install, custom server, no debugging :(

Postby colinwiseman » May 20th, 2013, 8:37 pm

Ok that's something. What is "PHP Tools Debugger Systray"
colinwiseman
 
Posts: 7
Joined: May 20th, 2013, 7:32 pm

Re: New install, custom server, no debugging :(

Postby Miloslav Beno » May 20th, 2013, 8:50 pm

Small utility that should pop out when you press F5.
You do not have the required permissions to view the files attached to this post.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: New install, custom server, no debugging :(

Postby colinwiseman » May 20th, 2013, 9:04 pm

Nope that doesn't popup when VS starts debugging. How would I install that?

I installed PHP.VS.vsix and that was all. Was there something else I should have installed?
colinwiseman
 
Posts: 7
Joined: May 20th, 2013, 7:32 pm

Next

Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 100 guests

User Control Panel

Login

Who is online

In total there are 100 users online :: 0 registered, 0 hidden and 100 guests (based on users active over the past 5 minutes)
Most users ever online was 399 on April 19th, 2024, 11:49 pm

Users browsing this forum: No registered users and 100 guests