Firebug
getfirebug.com
getfirebug.com
Nowadays, I don't know what to think about built-in dev tools. On the one hand, they promise lowering the entry barrier for fellow ongoing devs. On the other hand, they apparently aren't, because many folks don't care about learning all the basics of HTML, JS, CSS, etc. any more but instead prefer to enter the development world on a framework level. Developer extensions like "Vue tools" make stuff only more complicated, not less, thought.
Those tools blow even today's Chrome and Firefox dev tools out of the water in terms of accessibility, both in terms of keyboard/mouse and discoverability of interface.
Sadly, few people had access, because you had to either pay or pirate.
IE developer toolbar was actually better for quite a while too.
Then Chrome came out and most people switched to that, partially as the Dev tools were great, although, again, initially lacked some features so I tended to use a mix of both for about a year. But Google iterated fast and firebug got clunky.
Are there any video tutorials someone could recommend, where a proficient user of the dev tools uses them to interactively develop and tweak the design of a web-app?
You're still writing your CSS in your text editor like normal.
1. Via the debugger you can tweak styles and see feedback in real time. It's just a much faster feedback loop than refreshing the page every time. Then you cut and paste (or save as...) to get the changes back into your source code.
2. You can debug styles. If you are wondering why a particular bit of text is green and bold, it will show you what line of CSS it's inheriting each property from. (And which styles have been overridden)
Being able to click on a value for most things (left, top, width, height, etc) and use the up and down arrow to dynamically move an element around the page, or otherwise tweak anything about it - that's game-changing. If you aren't using the dev tools to tweak your CSS and instead are updating a file and hitting reload, you are way behind in productivity. I'm not even being hyperbolic about this.
You want to know how to do it in 2020? Right-click any element, hopefully it has either a class property or a inline CSS style property, dev tools should open and next to the DOM tree view there should be a CSS panel as well as other panels. Just click around in there, you can edit anything to change the layout instantly, add styles, tweak values. Once you're done tweaking values you can copy and paste the CSS just by selecting it in the dev tools, hit CTRL-C, then paste it into your editor, and then hit reload.
To be clear, I'm a backend engineer; in recent times I only write CSS about once per year, mostly just to update my portfolio site, or to do some interesting little hack. I've never worked with SCSS/SASS, React, web components, etc.
But in the past, I have worked full-stack, writing both a backend and the frontend that it works with. And, in those cases, the CSS I've written works, and is responsive and accessible, while also being readable and reusable, in the same sense that a well-factored library of functions is readable and reusable.
I don’t really think there is a paradigm shift except for general learning curve that is in effect here.
The difference between web development before and after firebug was dramatic.
The site mentions Firefox Developer Edition. What is that? A quick search seems to indicate that it's just one version ahead of Beta, what was called Aurora in the past.
Certainly if you want to test new features that's good. But what is the benefit for general Web development?
/not a web developer
> Certainly if you want to test new features that's good. But what is the benefit for general Web development?
See https://news.ycombinator.com/item?id=8583747
In short, separate profile, quicker access to new developer tools/new web standard implementations by virtue of being its own release channel (as you mention), developer-friendly defaults.
It's nice to praise Firebug - it's awesome and I agree with all the praise - but none of the praise explains / points to this awesome FF Developer Edition which up until this comment I had never heard of.
Was quite tricky to debug, until it finally clicked. Back then the browser did not have a console.log() function.
I guess today, the instructions would be `console?.log()` not that it matters now. :)
Weinre[1] let you to view the DOM, network requests, and console output when testing sites on a phone. Aardwolf[2] provided an interactive JavaScript debugger, by rewriting the code to add debug hooks.
[1] http://people.apache.org/~pmuellr/weinre/docs/latest/ [2] https://github.com/lexandera/Aardwolf
I'm sure safari offers the same for iOS.
I'm sure safari offers the same for iOS.
Indeed it does! Been quite a while since I used it, but I do remember it being quite seamless and enjoyable.What I’m looking for is having Firebug directly running on the mobile device.
EDIT: Discussion 4 months ago https://news.ycombinator.com/item?id=22968079 , where nxrabl shared the tip of editing an existing bookmark with the javascript code to get it to work in Safari on iOS.
Firebug had other nice things where you could respond with server traces. Made it really nice to debug server perf too.
I remember how mind blown I was when I read the firebug source code. At that moment I wanted to a competent enough programmer to write that kind of code. Jquery was another huge eye opener too. I did write a react like dom differ back in the day but js was too slow.
Nowadays, I'm back on Firefox.
Cool that yours auto pushed to a repo.
After my bug was closed wontfix I switched to the then new Firefox dev tools and never used firebug again. White background fascists take note.
To preserve the object as it was when debugged you have to either copy it or log all the specific properties you're interested in rather than the object as a whole.
I remember first discovering Firebug and being wowed by it, back when most browsers only offered you "View Source" as a way of looking under the bonnet.
I just wondered why someone had submitted a 4 year old blog post announcing the demise of Firebug, seeing as every browser now has it built-in.