Help with php debugging & breakpoints using workspace on Chrome Canary?

274 views
Skip to first unread message

Gordon McLean

unread,
Mar 31, 2016, 11:18:03 PM3/31/16
to Chromium-discuss
When a project folder with php is added as a workspace the source editor no longer accepts breakpoints? I can step in and out... (local server is MAMP)

With Brackets code editor and PHP Debugger extension enabled and Chrome Xdebug Helper I can set breakpoint on php file in a subfolder called classes for example... what is the trick for doing the same within Chrome Developer Tools?

PhistucK

unread,
Apr 1, 2016, 2:52:46 AM4/1/16
to mcle...@gmail.com, Chromium-discuss
I do not think this sort of extensions is possible in Chrome currently.


PhistucK

On Fri, Apr 1, 2016 at 6:18 AM, Gordon McLean <mcle...@gmail.com> wrote:
When a project folder with php is added as a workspace the source editor no longer accepts breakpoints? I can step in and out... (local server is MAMP)

With Brackets code editor and PHP Debugger extension enabled and Chrome Xdebug Helper I can set breakpoint on php file in a subfolder called classes for example... what is the trick for doing the same within Chrome Developer Tools?

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Jon Perryman

unread,
Apr 3, 2016, 1:00:57 AM4/3/16
to PhistucK Productions, mcle...@gmail.com, Chromium-discuss
PhistucK is correct. Chrome cannot debug server side. 

You will need to debug from the HTTP server or use PHP debugging commands. As an FYI, if you direct debugging messges to print, they will be included in the generated HTML, so you should to encapsulate it as HTML comments.

I don't think there is an online debugger for server side includes but you should check with the PHP group to see if one is available.
Reply all
Reply to author
Forward
0 new messages