Debugging PHP-Project
8 posts
• Page 1 of 1
Debugging PHP-Project
I've successfully installed, activated and set up PHP Tools in VS 2012 Ultimate (EN). Now when I hit F5 it tells me, that I need to run VS under an Admin-Account. Is there a way to get around this?
- sprinter
- Posts: 14
- Joined: November 16th, 2012, 10:41 am
Re: Debugging PHP-Project
Hello,
In current release it's necesary to run VS as Admin to be able to debug PHP. It's necesary to be able to monitor processes that were started by system. Please note that ASP.NET debugging also requires Admin permissions.
However there are ways around it and we'll target this in one of the future updates.
Is it problem to run vs as Administrator in your setup?
In current release it's necesary to run VS as Admin to be able to debug PHP. It's necesary to be able to monitor processes that were started by system. Please note that ASP.NET debugging also requires Admin permissions.
However there are ways around it and we'll target this in one of the future updates.
Is it problem to run vs as Administrator in your setup?
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Debugging PHP-Project
The problem is, that I'm running all this stuff inside a domain. Now my people need local administrative rights which is something I don't want because then they are able to change other stuff on the system too.
In VS 2012 you don't need administrative rights to debug ASP.NET because you can use IIS Express and Page Inspector. What about using page inspector as a start-option in PHP Tools too?
Thanks in advance, Alex
In VS 2012 you don't need administrative rights to debug ASP.NET because you can use IIS Express and Page Inspector. What about using page inspector as a start-option in PHP Tools too?
Thanks in advance, Alex
- sprinter
- Posts: 14
- Joined: November 16th, 2012, 10:41 am
Re: Debugging PHP-Project
Hi Alex,
You're right when debugging IIS Express you don't need administrative rights. It's needed just for system services.
What we can do is to easily allow non-administrative debugging for IISExpress and PHP 5.4 builtin server. That would be sufficient solution for you at this point? It could be included in the upcomming update.
About Page inspector... We'd love to include this for PHP, but it will take more time.
Thank you
You're right when debugging IIS Express you don't need administrative rights. It's needed just for system services.
What we can do is to easily allow non-administrative debugging for IISExpress and PHP 5.4 builtin server. That would be sufficient solution for you at this point? It could be included in the upcomming update.
About Page inspector... We'd love to include this for PHP, but it will take more time.
Thank you
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Debugging PHP-Project
Hi,
the builtin-method would be great. I never configured the IIS Express but I think, it should do the job. Thanks!
Alex
the builtin-method would be great. I never configured the IIS Express but I think, it should do the job. Thanks!
Alex
- sprinter
- Posts: 14
- Joined: November 16th, 2012, 10:41 am
Re: Debugging PHP-Project
Hi Alex,
PHP Tools have ability to configure PHP on IISExpress automaticaly, so you shouldn't have a problem when using it.
So we'll include non-administrative debugging for IISExpress and PHP 5.4 builtin server in the upcoming update.
Thank you
PHP Tools have ability to configure PHP on IISExpress automaticaly, so you shouldn't have a problem when using it.
So we'll include non-administrative debugging for IISExpress and PHP 5.4 builtin server in the upcoming update.
Thank you
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Debugging PHP-Project
Hey, thanks a lot for the quick update. It just worsk. Now I can hit F5 and my page inspector opens up. I don't have to be admin!!! Yeah!!!! :- )
Alex
Alex
- sprinter
- Posts: 14
- Joined: November 16th, 2012, 10:41 am
Re: Debugging PHP-Project
Hi Alex,
great!:-) I'm glad it works for you.
Miloslav
great!:-) I'm glad it works for you.
Miloslav
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 12 guests