JavaScript debugging (client side) with PHP
5 posts
• Page 1 of 1
JavaScript debugging (client side) with PHP
Hello Devsense, or anyone else..
I have the vs2017 version trial running and have tried to debug JavaScript a) as a .js file in a script tag, and b) as embedded in script tag.
I'm impressed that with IE it works in the IDE as a break point and local variables.
In Edge it seems only to work with the developer tools in the browser.
Please can you say what is to be expected with your current vs2017 version. I thing your documentation is out of date or I've not found the right documentation yet!!
Also, can I expect such in Firefox, Opera and Chrome?
If so I need to know what to install and how to configure.
Thx
John
I have the vs2017 version trial running and have tried to debug JavaScript a) as a .js file in a script tag, and b) as embedded in script tag.
I'm impressed that with IE it works in the IDE as a break point and local variables.
In Edge it seems only to work with the developer tools in the browser.
Please can you say what is to be expected with your current vs2017 version. I thing your documentation is out of date or I've not found the right documentation yet!!
Also, can I expect such in Firefox, Opera and Chrome?
If so I need to know what to install and how to configure.
Thx
John
- Jradxl
- Posts: 1
- Joined: May 23rd, 2017, 3:24 pm
Re: JavaScript debugging (client side) with PHP
You can already debug JS in Chrome and Firefox. In fact Chrome had it built-in first and has probably the most mature developer tools of the lot.
As for how this relates to PHP Tools? I'm not quite sure what you're asking, but if it is "can I debug JS running in the browser using VS2017?", the I will just say "probably not ever".
As for how this relates to PHP Tools? I'm not quite sure what you're asking, but if it is "can I debug JS running in the browser using VS2017?", the I will just say "probably not ever".
-
jazz - Posts: 41
- Joined: August 25th, 2016, 1:59 am
- Location: Canberra, Australia
Re: JavaScript debugging (client side) with PHP
UPDATE: Chrome JS debugger is supported for PHP Projects in VS since version 1.30.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: JavaScript debugging (client side) with PHP
jazz wrote:You can already debug JS in Chrome and Firefox. In fact Chrome had it built-in first and has probably the most mature developer tools of the lot.
As for how this relates to PHP Tools? I'm not quite sure what you're asking, but if it is "can I debug JS running in the browser using VS2017?", the I will just say "probably not ever".
ASP.NET projects automatically hook Chrome/IE and map the websites js to the project files, so that's very much possible. Also see the update from Miroslav.
Also, Visual Studio is awesome for debugging applications in general. Whether native or managed, whether with or without debug information. It's an almost essential tool next to IDA/Olly if you're reverse engineering.
- mhpcc
- Posts: 22
- Joined: October 19th, 2018, 10:46 pm
Re: JavaScript debugging (client side) with PHP
See my post on this topic at:
http://support.devsense.com/viewtopic.php?f=21&t=2065&start=10
http://support.devsense.com/viewtopic.php?f=21&t=2065&start=10
- WeedHopper
- Posts: 7
- Joined: May 14th, 2013, 5:23 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 41 guests