News for hackers. Stuff that matters.
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by hahawhat222 on Thursday May 16, 2019 @08:38PM (#19934988)
Inline breakpoints and human-friendly variable names are gamechangers! Looks like FF is going above and beyond Chrome devtools with this update.
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by haolez on Thursday May 16, 2019 @09:02PM (#19935133)
Can it inspect WebSockets frames yet? I'm a Firefox user but I miss that sometimes when developing stuff.
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by dblohm7 on Thursday May 16, 2019 @09:11PM (#19935180)
I heard that this was going to be a GSOC project this summer, but I'm not sure if that was approved or not.
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by sanxiyn on Thursday May 16, 2019 @10:26PM (#19935673)
Mozilla methodology: staffs should avoid well defined works so that volunteers, interns, and students can do them.
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by seanmcdirmid on Thursday May 16, 2019 @11:17PM (#19935923)
It’s not a bad strategy: just figuring out what to do can be much harder than getting it done (which can be more easily delegated). Architects (of old) made the big bucks in the days; now according to the google model they’ve all become senior engineers and the definition of and piecing off of work is much less formal (not to mention that it might go out to interns or the community rather the junior devs).
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by vanderZwan on Friday May 17, 2019 @06:09AM (#19938033)
I can also picture it organically happening: if I were a core dev, would I focus on the issues "anyone" could pick up, or the ones that only someone as deeply invested into the code base as me would have any hope of untangling?
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by Scarbutt on Thursday May 16, 2019 @10:56PM (#19935822)
Firefox is not their primary product and they have no competition. /S
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by sanxiyn on Thursday May 16, 2019 @11:02PM (#19935849)
Oh... I consider Mozilla methodology a good methodology. Staffs probably can do both well and ill defined works better than volunteers, but they do have comparative advantage in ill defined works. A problem with methodology is that well defined works can be delayed, but Mozilla do have massive contributor pool so that it is not usually a problem.
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by Vinnl on Friday May 17, 2019 @02:28AM (#19936812)
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by jjoonathan on Thursday May 16, 2019 @10:34PM (#19935722)
This is the big one that sends me back to Chrome every time I start to get settled in Firefox.
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by Weizilla on Thursday May 16, 2019 @11:14PM (#19935905)
Looks like they finally added resizable columns in the networks tab! https://bugzilla.mozilla.org/show_bug.cgi?id=1358414
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by TheGoddessInari on Thursday May 16, 2019 @11:06PM (#19935865)
As much as I like a Firefox, no inline/live editing of Javascript leaves things a bit frustratingly behind the curve. Even Edge Classic has that, and it's terrible.
Re:Faster Smarter JavaScript Debugging in Firefox DevTools by magicalist on Friday May 17, 2019 @12:49AM (#19936400)
Those have worked for a while now? Like https://umaar.com/dev-tips/129-inline-breakpoints/

The bigger issue is when local variables aren't captured by the context when paused in chrome. I'm curious how the Firefox devtools handle that.

Re:Faster Smarter JavaScript Debugging in Firefox DevTools by kaycebasques on Friday May 17, 2019 @12:55AM (#19936425)
We (Chrome DevTools) have had inline breakpoints since at least January 2017: https://umaar.com/dev-tips/129-inline-breakpoints/

The human-friendly variable mapping is very interesting, though. We'd love feedback on how well it works out in the wild.

Re:Faster Smarter JavaScript Debugging in Firefox DevTools by jasonlaster11 on Friday May 17, 2019 @01:28PM (#19941708)
Happy to discuss collaborating on mapping variables. The current approach is based on re-parsing with babel, but we would like to extend source maps to include relevant mapping data.

https://twitter.com/auchenberg/status/1129435519727820800