Debugging with IIS Express and Visual Studio Ultimate 2012
5 posts
• Page 1 of 1
Debugging with IIS Express and Visual Studio Ultimate 2012
Hello
I am currently using a trial version of the professional edition of PHP Tools for Visual Studio, and I am trying to set up debugging support with xdebug.
Everything *seems* to be in order, my phpinfo says that xdebug is installed and the xdebug setup wizard says the same thing.
However, even though I set up break points in code, it never breaks.
A full version of my php.ini file can be found here:
http://pastebin.com/eb7EA6M6
My OS is Windows 8 Pro 64-bit, IIS is not installed. Using Visual Studio Ultimate 2012
The url I am trying to debug looks like this:
I am currently using a trial version of the professional edition of PHP Tools for Visual Studio, and I am trying to set up debugging support with xdebug.
Everything *seems* to be in order, my phpinfo says that xdebug is installed and the xdebug setup wizard says the same thing.
However, even though I set up break points in code, it never breaks.
A full version of my php.ini file can be found here:
http://pastebin.com/eb7EA6M6
My OS is Windows 8 Pro 64-bit, IIS is not installed. Using Visual Studio Ultimate 2012
- Code: Select all
[XDEBUG]
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_host = localhost
xdebug.remote_port = 9000
[PHP_XDEBUG-2.2.1-5.3-VC9-NTS]
[PHP_XDEBUG-2.2.1-5.3-VC9-NTS]
zend_extension="C:\P(...)es (x86)\PHP\v5.3\ext\php_xdebug-2.2.1-5.3-vc9-nts.dll"
The url I am trying to debug looks like this:
- Code: Select all
http://localhost:16472/index.php?XDEBUG_SESSION_START=1
- havardhu
- Posts: 3
- Joined: March 18th, 2013, 9:54 pm
Re: Debugging with IIS Express and Visual Studio Ultimate 20
Hello,
Thanks for contacting us.
Configuration seems to be ok.
Can I ask what version of PHP Tools do you use?
When you press F5, does iisexpress and browser starts? If you just directly access the url do you see an output? (Press Ctrl+F5 so just browser will open without debugger)
Please check Output window if you see something like this:
Auto-attach to process '[5552] iisexpress.exe' on machine 'WIN-ECLA2IPA9SN' succeeded.
Auto-attach to process '[1232] php-cgi.exe' on machine 'WIN-ECLA2IPA9SN' succeeded.
Thanks,
Miloslav
Thanks for contacting us.
Configuration seems to be ok.
Can I ask what version of PHP Tools do you use?
When you press F5, does iisexpress and browser starts? If you just directly access the url do you see an output? (Press Ctrl+F5 so just browser will open without debugger)
Please check Output window if you see something like this:
Auto-attach to process '[5552] iisexpress.exe' on machine 'WIN-ECLA2IPA9SN' succeeded.
Auto-attach to process '[1232] php-cgi.exe' on machine 'WIN-ECLA2IPA9SN' succeeded.
Thanks,
Miloslav
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Debugging with IIS Express and Visual Studio Ultimate 20
Hi again,
It occured to me one more thing. As Win8 user folder has user's name which can contain Unicode characters it might cause the issue you've been talking about.
Please make sure the path of your project doesn't have unicode in it. If it does please move your project to path without unicode characters. We'll handle this situation in the following update so the paths can contain unicode characters.
Thanks again!
Miloslav
It occured to me one more thing. As Win8 user folder has user's name which can contain Unicode characters it might cause the issue you've been talking about.
Please make sure the path of your project doesn't have unicode in it. If it does please move your project to path without unicode characters. We'll handle this situation in the following update so the paths can contain unicode characters.
Thanks again!
Miloslav
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Debugging with IIS Express and Visual Studio Ultimate 20
Miloslav Beno wrote:Hi again,
It occured to me one more thing. As Win8 user folder has user's name which can contain Unicode characters it might cause the issue you've been talking about.
Please make sure the path of your project doesn't have unicode in it. If it does please move your project to path without unicode characters. We'll handle this situation in the following update so the paths can contain unicode characters.
Thanks again!
Miloslav
Thank you! This worked.
- havardhu
- Posts: 3
- Joined: March 18th, 2013, 9:54 pm
Re: Debugging with IIS Express and Visual Studio Ultimate 20
Great! I'm glad it works for you.
Regards,
Miloslav
Regards,
Miloslav
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 127 guests