Brakpoints

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

Brakpoints

Postby libb » December 14th, 2013, 9:51 pm

I have file header.html included on top of all php pages. There is some HTML code and some PHP code but I cannot set breakpoint into the PHP code. If I rename the file to header.php, it works.
Thy I cannot set breakpoint into the php section in the HTML file?
libb
 
Posts: 3
Joined: December 14th, 2013, 9:49 pm

Re: Brakpoints

Postby Miloslav Beno » December 14th, 2013, 10:32 pm

Hi,

If you only include html files (you don't request them explicitly), this should work just by setting *.html files to be handled by PHP editor ( http://www.devsense.com/doc/phptools/options#extensions ).

If you want to request html files explicitly your web server has to be setup to handle html files as php.

Give me know if that helped.

Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Brakpoints

Postby libb » December 16th, 2013, 7:42 am

I'm sorry, link you posted here reflects to this thread, maybe issue with clipboard? How I can set handling the HTML files to PHP Editor?
Now I "fixed" it by renaming the file to PHP but generally I would to like use debugging in the HTML files.
Thanks.
libb
 
Posts: 3
Joined: December 14th, 2013, 9:49 pm

Re: Brakpoints

Postby Miloslav Beno » December 16th, 2013, 5:11 pm

Sorry about that. I've fixed the link in previous post. It should work now.

Give me know if that helped.

Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Brakpoints

Postby libb » December 16th, 2013, 5:57 pm

Yes, it works, thanks!
libb
 
Posts: 3
Joined: December 14th, 2013, 9:49 pm

Re: Brakpoints

Postby Miloslav Beno » December 16th, 2013, 5:59 pm

Perfect!

Have a good one,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 68 guests

cron

User Control Panel

Login

Who is online

In total there are 68 users online :: 0 registered, 0 hidden and 68 guests (based on users active over the past 5 minutes)
Most users ever online was 511 on April 27th, 2024, 10:11 pm

Users browsing this forum: No registered users and 68 guests