11 ms·
Hi! Just a heads up that folks from the dev tools team will be monitoring this thread and are on-hand to answer questions. We'll try not to thread sit too much.
by callahad 12y ago
Hi! Just a heads up that folks from the dev tools team will be monitoring this thread and are on-hand to answer questions. We'll try not to thread sit too much. :) In brief, the Developer Edition is a new release channel for Firefox, replacing Aurora (our pre-Beta channel). Everything else about the release cadence is the same.
There are four major new features here:
1. The Firefox Tools Adapter ("Valence"), which lets you use the Firefox dev tools to inspect and debug pages in Chrome for Android and Safari for iOS. The goal: one set of tools to debug any browser.
2. Side-by-side profiles. The Developer Edition defaults to a profile named `dev-edition-default`, which makes it easier to run Developer Edition at the same time as a normal release version of Firefox. You don't have to deal with the profile switcher each time.
3. Developer-friendly defaults. Developer Edition ships with things like remote debugging and browser-chrome debugging enabled by default.
4. And, for all of you who hated Australis, a compact theme with square tabs.
But those are just consequences of the single biggest change:
5. We have a new channel, which new rules. And we want to use it to build the best possible browser for web developers. We can ship new tools that aren't yet ready for the Beta channel, and we can change the browser's appearance and defaults specifically for web developers.
We'll be watching this thread during launch, but you can always submit feature requests on UserVoice. The right people will see them: https://ffdevtools.uservoice.com/forums/246087-firefox-developer-tools-ideas https://ffdevtools.uservoice.com/forums/246087-firefox-devel...
This isn't a finished product. It's an invitation.
What tools do you need?
- youngtaff 12y agoDoes it inspect Safari on iOS 8? (Google's ios-webkit-debug-proxy doesn't appear to yet)
- tumblen 12y agoOne of the most powerful tools in my chest is Firefile (https://addons.mozilla.org/en-US/firefox/addon/firefile/ https://addons.mozilla.org/en-US/firefox/addon/firefile/). Firefile allows you to edit CSS in firebug and save to your stylsheet right from there. It's incredible how this smooths out my workflow and I can't work without it. Firefile, though, doesn't appear to be in development anymore and it's latest release is broken. (I had to make some manual edits to get it working). Any chance we'll see Firefile's functionality coming to FF Dev Edition?
- atom-morgan 12y agoWould you be able to share your edits?
- deleted 12y ago[deleted]
- kibwen 12y agoI think they meant the edits to Firefile itself that got it working with the most recent Firebug.
- nnq 12y agoYou know you can do this with the CSS inspector in Chrome, without any extension, right?
- maratd 12y agoHow?
- alxndr 12y agoHaven't used it in a while, but IIRC in the Sources tab of Chrome's Dev Tools, right-clicking a directory brings up a context menu with an "Add folder to workspace" option, which has you pick a local directory to map to the source directory. Then if you edit a file in the dev tools and command-S, it'll save that file where it appears in the local directory you picked.
- paulojreis 12y agoFrom the top of my mind: 1. HTTP Request builder (think cURL with a nicer GUI and the ability to save presets); 2. Web Proxy, able to "stop-and-modify" requests (think Fiddler or Charles); 3. Network conditions simulator for throttling, packet dropping and limited bandwidth, with profiles (e.g. GPRS); 4. Local Mock REST API, with a few predefined endpoints (e.g. /users/) + the ability to create new ones (with configurable values such as random integers between X and Y or a random string which is a valid e-mail); 5. Multi-touch simulator (with a modifier key); 6. A usability test facilitator, able to create test scripts and automatically record timing and extra information (e.g. define a task that ends when user clicks the element with id X; when said user clicks #X, you annotate the time, the number of misclicks, etc). You could also implement this for static images, with clickable regions. I would love you for this one.
- oib 12y agoThe second one is possible with the Tamper Data plugin: https://addons.mozilla.org/nl/firefox/addon/tamper-data/ https://addons.mozilla.org/nl/firefox/addon/tamper-data/
- jksmith 12y agoYeah on all this stuff.
- dante9999 12y agoI see that concerning point one and two there is option 'edit and resend' visible if you hover over request in network tab, and there is also option 'enable persistent logs', that shows what happens between refreshes. Don't know how it works, just playing around for 10 minutes. Overall I'm impressed with new network panel, much better than before.
- rkwz 12y agoSince it's named WebIDE, what's your plans for it in future?
- callahad 12y agoThe WebIDE is currently pretty targeted at mobile web apps, especially on Firefox OS. We want it to be a more generally applicable tool for authoring web content. The Tools Adapter that lets you debug Chrome/Android or Safari/iOS tabs from the WebIDE is a first step in that direction.
- spain 12y ago2 and 4 alone are reason enough to use it, nice work. EDIT: Wow after trying it out it seems like a long-time bug I've been experiencing has been fixed, I'm willing to bet it's not just the clean install either because I tried resetting Firefox multiple times before and it hadn't helped.
- fixedd 12y agoConsidering eighty-something percent of people who responded to the survey despised Australis, I could see a lot of people choosing it for #4 alone.
- yla92 12y agoBuilt-in Postman-alike API builder.
- Inversechi 12y agoThis!
- acqq 12y agoWait, so this "Edition" will deliver the things that aren't even Beta? Is that only for development-only tools or also for features which will appear in "normal" Firefox? I think I'd prefer to develop for the current state of my user base and not for some "maybe it will be so" target. Can you please clarify what the "new rules" are?
- oatmealsnap 12y agoIt seems like they are referring to UI tools, not new HTML5 specs. Also, you can still debug with the other versions of FireFox.
- callahad 12y agoThe release process might help explain it: https://wiki.mozilla.org/RapidRelease https://wiki.mozilla.org/RapidRelease or, if you're familiar with Chrome's stable / beta / dev / canary channels, it's largely the same model. As far as fundamental web platform features are concerned, the Developer Edition is a normal pre-Beta channel. It's primarily that more willing to promote new tooling up from Nightly into the DevEdition or to set different default preferences, for instance.
- acqq 12y agoI see, the "new rules" are easiest to summarize as one more "let's do it like Chrome" step.
- Siecje 12y agoIn the "Responsive Design Mode" you should be able to see the size in ems.
- rkwz 12y ago> What tools do you need? I wonder where do you draw a line for a developer oriented browser. Is a good 'line' be tools for 'whatever loads on page'? Since we already have color picker etc, I think good candidates are * Onscreen ruler * Gradient generator * Builtin JSfiddle * CSS sprite generator * Image to base64 * JS/HTML/CSS formatter * JSON tools - tree-viewer/formatter/validator * XML tools - tree-viewer/formatter/validator/xpath
- cturhan 12y ago++1 for JS/HTML/CSS formatter and json tools
- acdha 12y agoThe JavaScript view in the debugger already has a built-in prettifier – look for the {} icon in the lower left corner. It'd be really nice to have that for CSS, particularly if it could do a side-by-side view for e.g. source-mapped original and prettified CSS-as-used.
- kibwen 12y agoAs a longtime fan of the dark theme in the Firefox devtools, I'm enamored by the new theme of the developer edition. But you really should document how to turn it off for the people who don't like it. :) EDIT: Ah, I see there's a link to restore the theme at the bottom of the welcome page.
- silverbucket 12y agoWhere exactly? I can't find it anywhere on this page https://developer.mozilla.org/en-US/Firefox/Developer_Edition https://developer.mozilla.org/en-US/Firefox/Developer_Editio... EDIT: Aha, https://news.ycombinator.com/item?id=8584207 https://news.ycombinator.com/item?id=8584207
- roller 12y agoA simple way to edit Host: header so that it doesn't necessarily match the url host part used to get to the site. Debugging name based virtual hosts configs via editing host files is a huge pain point for me.
- deleted 12y ago[deleted]
- tadasZ 12y agoLight theme please.
- mbrubeck 12y agoThere are "light" and "dark" themes in the Developer Tools options pane. Click the "gear" icon near the top right of the toolbox: https://pbs.twimg.com/media/B2Fj8vbCUAMfjwj.png https://pbs.twimg.com/media/B2Fj8vbCUAMfjwj.png
- numbnuts 12y agoChanging the DevTools theme changes the whole browser's theme too. http://i.imgur.com/NJzTpG9.png http://i.imgur.com/NJzTpG9.png
- mcheely 12y agoA really small thing that would be immensely useful to me would be a quick way to to copy or save as plain text a full HTTP request & response, with a little bit of nice formatting to make it human readable. I often find myself passing this data along to API developers via email or chat to debug issues. I can always just copy and paste directly from the request inspection dialog, but that loses all of the useful formatting, making it hard to parse, or requiring me to go in and add line breaks if I want to be nice to my fellow developers. Small, but it's the sort of detail that makes for a nice, easy experience.
- johns 12y agoIf I may offer a shameless plug...if those requests are on public DNS, you can capture and share them with Runscope: https://www.runscope.com/docs/debugging https://www.runscope.com/docs/debugging https://www.runscope.com/docs/sharing https://www.runscope.com/docs/sharing
- jperras 12y agoA MitM proxy like Charles (http://www.charlesproxy.com/ http://www.charlesproxy.com/) would be incredible. Debugging SSL issues is always difficult, and it would be great to have the tools all in one place. Also, a shout-out to mitmproxy (https://github.com/mitmproxy/mitmproxy https://github.com/mitmproxy/mitmproxy) which I've used on several occasions.
- jimrandomh 12y agoI want a command-line tool I can invoke from a Makefile, to refresh pages affected by the compile I just did. Existing solutions for doing this are awful and this represents more than half the time between saving and seeing the result on screen for me.
- ratbeard 12y agoJust a basic request, but maybe in the developer edition you could default the '3d view' button being available in the dev panel. It took me a while to figure out how to get that cool (and distinguishing!) feature of FF. Thanks! Edit: To enable 3d view you have to check a box in the settings menu in the Dev Panel, which makes a little 3d box icon appear if anyone else is wondering.
- acdha 12y agoI'd love it if the Responsive Design Mode had multiple viewport support so you could have the same page visible at multiple breakpoints simultaneously
- at-fates-hands 12y agoAdd my vote to this one. Also, having more than 6 presets would be better. There's so many devices with different viewport sizes now. Chrome at least has a fairly deep list of devices you can test with their responsive tool. It would be nice to see a more robust list in the Developer Edition.
- kristiandupont 12y agoThis is not quite the same but still helpful: http://ami.responsivedesign.is/ http://ami.responsivedesign.is/
- kgtm 12y agoFirefox is unusable for developers with poor eyesight that use OS-level accessibility features such as high contrast on recent versions of Windows. There is an open bug but no love: [ https://bugzilla.mozilla.org/show_bug.cgi?id=790706 https://bugzilla.mozilla.org/show_bug.cgi?id=790706 ]. Firefox forces high-contrast colors, completely destroying HTML rendering, with no option to disable this behavior. Using a high contrast theme in Windows doesn't mean i don't want to see web pages as their developer intended. Chrome gets it right, why can't Firefox?
- harmonicon 12y agoI have to say I rather like it that way but I guess I am not the target user group for such accessibility features.
- Yoric 12y agoI am not familiar with this part of the code, but generally, the answer to this question is « lack of manpower, but if you volunteer to implement it, we'll be glad to help you out and have you onboard. » If anybody motivated to help us implement features reads these lines, the next step is to join us on IRC: irc.mozilla.org, channel #introduction .
- bzbarsky 12y agoI moved that bug to a place where someone who might know something about the matter might actually see it...
- agentultra 12y ago> What tools do you need? A WebIDE that isn't focused on mobile? Not sure if this is already possible with WebIDE but the focus on mobile-first makes it confusing. I do a fair amount of prototyping on WebGL and the web platform. However my current flow involves managing my project files, serving them to FF, and building the final bundle via a collection of third-party tools, libraries, and applications. I then run, test, profile, and tweak in FF. It'd be nice to have a source editor and project manager built in. Give WebIDE an option to develop for desktop FF or something. Focus everything on live-coding: a DOM-enabled source editor could detect new nodes and tell the context to redraw the page; the debugger could highlight the source lines as I step through; the scripting engine can update the DOM-aware editor and highlight added nodes; I can connect source buffers to a namespace REPL to recompile and execute definitions on the fly. Either that or add a chrome-less mode that allows me to embed FF inside my development environment and open up the remote APIs to allow for more interactive debugging, profiling, etc (eg: http://www.emacswiki.org/emacs/WebKit http://www.emacswiki.org/emacs/WebKit)
- snomad 12y agoIntegrated Unit Testing, mocked after PHPUnit+Selenium. Would love to be able to save scripted unit tests, preferably per URL. Right now it is a bit of a pain point with test suites in JS, PHP, etc... what if we want to switch to another language? It would be better if the tests were local to the browser, unhinging us from some of the language dependencies.
- 3f48f9fh 12y ago>What tools do you need? User agent spoofing for every tab. Mobile development is hell without it and nowadays almost every site needs to be developed with mobile devices in mind, which makes FF a bad tool for web development. Just copy Chrome in this regard, they do it right.
- tezza 12y agoIt'd be nice to have the URL bar entries as combobox dropdowns Hand editing by moving the cursor is so fiddly and error prone. Take: http://my.app/path/to/node?a=123&b=A34 it would be nice to be able to type into the parameters. Say change path to path1 or value of the b parameter from A34 to B67 . Having MRU entries for each param value in a dropdown would be quite useful too.
- Siecje 12y agoYou can double click 'path' on Window but not on Linux. https://bugzilla.mozilla.org/show_bug.cgi?id=926249 https://bugzilla.mozilla.org/show_bug.cgi?id=926249
- stephen 12y ago> 1. The Firefox Tools Adapter ("Valence"), which lets you use the Firefox dev tools to inspect and debug pages in Chrome for Android and Safari for iOS. The goal: one set of tools to debug any browser. That's amazing. I can't wait until we have standard wire protocols for all of this so that I can stay in an IDE while writing GWT/Coffeescript/JS/etc., e.g.: https://github.com/sdbg/sdbg https://github.com/sdbg/sdbg (AFAICT both the FF and Chrome teams seem hot on building IDEs into their browsers, but, sorry, that's a step down the all-in-one Netscape Suite road IMO. :-))
- wahsd 12y agoCSS Media emulation like in Chrome. Correct me if I'm wrong, but that feature is still not included even though there are feature requests for it. I am interested in it in order to emulate print.css . I'm sure it's not the highest priority.
- maaaats 12y agoYou have print preview. No easy way to inspect/debug in it, though.
- tezza 12y agoAbility to set the task switcher icon of the Firefox instance. If I'm alt-tabbing it helps identify which FF instance I am switching to
- explorigin 12y agoThe current debugger lists the current execution stack horizontally. This is bad UI because it's hard to follow. It is more convenient for short stack hops but for deep traversal, it is worse than Chrome's vertical stacking in a tree.
- jwmerrill 12y agoCheck the left hand side. There's a tab next to the file list that has a vertical stack trace.
- technomancy 12y agoI would love to have FF profiles as dotfiles that I can actually check into source control and use reliably. I blew a couple hours a few months ago trying to make FF fit into my existing system of dotfiles in git and it was extremely frustrating. Every other program I use lets me check config into git, but FF insists on storing config data into profiles with randomly-generated names. It's very resistant to automation. I understand there is an FF-specific sync solution, but I want all my config in one place.
- sebasmagri 12y agoI'd recommend using Firefox Sync to store your preferences and keep it synched across all your foxes.
- technomancy 12y agoI understand this is an option, but it's super frustrating that the FF profiles mechanism wasn't built the right way from the ground up. There are significant advantages to having all your config in dotfiles beyond just keeping everything in one place: easy branching, getting rollback for free, human-readable diffs, etc.
- morkaway 12y agoJust be glad they eventually managed to kill Mork! https://en.wikipedia.org/wiki/Mork_%28file_format%29 https://en.wikipedia.org/wiki/Mork_%28file_format%29
- jryans 12y agoI am not sure why the names are randomized, but you can still check in the folder if you wish. The outer profiles.ini is all you need to map in the right folder name (on Mac / Linux at least...).
- JohnTHaller 12y agoThey're randomized to make it harder for an attacking program to find the location of it in a worst-case scenario when a Javascript or similar bug gives it read access to the local machine. The script in this scenario would be able to read files it knew the path of but not browse the drive properly. Without randomization, it would be a safe bet to try things like %USERPROFILE%\AppData\Mozilla\Firefox\Profile\Cookies and be able to pull your cookies for examination. If you can't get the USERPROFILE environment variable, the script could also do C:\Users\Admin\... and replace Admin with common names as well like John, Sue, etc. It also helps make it harder for malware to find. Not much harder, mind you, but it does require specific code to look for the Firefox profile as opposed to a single check.
- tdooner 12y agoCool, thanks for all your hard work on FF dev tools! One thing I could really use is something that helps me understand how Firefox treats TCP/TLS/SPDY connections. It would illustrate the benefit of using CDN and maybe, with enough instrumentation, would help me tune asset sharding. I put some thoughts in the uservoice here: https://ffdevtools.uservoice.com/forums/246087-firefox-developer-tools-ideas/suggestions/6694138-tcp-connection-spdy-analyzer https://ffdevtools.uservoice.com/forums/246087-firefox-devel...
- acdha 12y agoCritical path performance profiling: 1. Performance timeline which shows major events (e.g. DOMContentLoaded, load event) and the network / scripts which blocked them 2. Initiators for reflow, layout, etc. events. Currently it's really easy to identify a JavaScript hotspot if it's pure JS but it's hard to learn what's triggering hundreds of reflows, particularly in non-obvious cases such as CSS transitions.
- Raphael 12y agoGreat information here. Please paste your comment here onto the web page for the Developer Edition. I got the impression from the official page that it was just for Web IDE and the dev tools Firefox already had.
- masklinn 12y ago> What tools do you need? Safari 8 introduced "breakpoint actions" similar to Xcode's: when a breakpoint is set, it can be configured to not actually break (keep running even if the breakpoint condition matches) and if it matches: * log a message * play a sound * execute code * run a probe Each action type can be used any number of time on the same breakpoint. It's not the most stable and almost undocumented — the only documentation I've found is the second half of WWDC'14 Session 512 "Web Inspector and Modern JavaScript" (starting ~37mn in) — but it's a great system, one I've been waiting for for a long time, and one I'd like to see more of. Especially with all the other features in e.g. the Xcode version: Xcode can ignore the first n hits of a breakpoint and can capture an OpenGL ES frame. In a browser, the breakpoint could allow capturing the DOM state, the renderstate or a WebGL frame.
- serve_yay 12y agoHmm, interesting!
- sebasmagri 12y agoSounds great. I'd love to see it in https://ffdevtools.uservoice.com/ https://ffdevtools.uservoice.com/
- juandopazo 12y agoYou can do this in the current dev tools by setting a conditional breakpoint. Conditional breakpoints allow you to write an expression which you can force to always be falsy. For example, "console.log()" returns undefined so it's falsy and it won't actually break.
- masklinn 12y ago> You can do this in the current dev tools by setting a conditional breakpoint. It only performs one of the possible actions, is not extensible and the UI is terrible. So no, you can not "do this", you can do about 20% of it (possibly less so in the future) and stab your eyes out while doing it. I know about that option, and I'd very much like to stop having to use it thanksbutnothanks.
- jbm1991 12y agoI would really like to switch to this to get away from Chrome but there is one thing stopping me. Which is that in Chrome when I'm debugging JS I can see a full list of files in their folders and can open them up to see them and add breakpoints and things. Like this http://derp.co.uk/1ae64 http://derp.co.uk/1ae64 But in Firefox all I get is http://derp.co.uk/3be04 http://derp.co.uk/3be04 which is of zero use to me and it means I can't use it over Chrome. Am I missing something or is this just not a feature that Firefox has? Thanks
- debaserab2 12y agoThe ability to save the current state of cookies under a given name for loading later. Having different named profiles for remembered users/passwords for a given site. Chrome can do this but I've never cared for it's interface that much.
- nubs 12y agoI would love the ability to easily spin up multiple profiles at one time. Having the separate profile for Dev Edition should help, but sometimes I want a few others as well (depending on the task at hand). Ideally, It'd be best to be able to open a new tab inside of a different profile and just be able to tab back and forth between the different profiles.
- nnethercote 12y agoIf you're running from the command line, you can use the `--ProfileManager` option to create new profiles, and then you can start separate browser instances with `-P <profile> --no-remote`.
- maaaats 12y agoI would like to be able to copy the JSON received in the network tab. As it is now, I only get to see a tree-view and can't easily copy the full JSON as text.
- jonnyscholes 12y ago+1 for this - also would love to be able to copy and paste an object that has been logged to console (this is only a problem if its a large object and its being 'abbreviated' inline within the console).
- deleted 12y ago[deleted]
- jmt7les 12y agoDrag and drop nodes in the Inspector like Chrome does.
- Dagger2 12y ago> 4. And, for all of you who hated Australis, a compact theme with square tabs. Right, because that's totally the problem with Australis. Nothing to do with screwing up customization or the general theme, treating users like idiots etc. It's the rounded tabs!
- elsamuko 12y agoTry vertical tabs: https://github.com/darrinhenein/VerticalTabs https://github.com/darrinhenein/VerticalTabs They are imho much more useful on todays widescreen displays than normal tabs.
- jsmeaton 12y agoI wish the same thing existed for Chrome, but I've been unable to find anything remotely useful.
- sebasmagri 12y agoIt'd be great to be able to post feedback to the UserVoice channel, or anything else, from a dialog in the devtools. That way devs wont forget their great idea while they finish their new neat feature.
- nailer 12y agoI want to control / inspect Internet Explorer and Chrome desktop and Firefox in one consistent app. Moving between different devtools sucks. Browserstack and VMs have horrible latency. It would be cool for Developer Edition to help me test websites everywhere. I'm not sure how technically you would do that though.
- glandium 12y ago> 4. And, for all of you who hated Australis, a compact theme with square tabs. Seriously, there has to be a better reason than that for square tabs. If there isn't, I question the usefulness of doing so.
- snomad 12y agoWould like multiple profiles in sync. e.g. a Work profile, a Home profile, maybe a mobile. Some things belong just at work or just at home. Some things aren't ever accessed on mobile.
- sams99 12y ago> What tools do you need? A better profiler, chrome flamechart is probably the best out there, it would be really nice to have the same for Firefox. Also allowing to operate in "count every call mode" and "sampling" (with control over sampling)
- nareshv 12y agobuilt-in "firecookie" would be great addon.
- andrewjwu 12y ago+1 for Firecookie, super convenient to read and modify cookies on a site-by-site basis and one of the few reasons I still have Firebug installed albeit I always dread how much slower it is vs. the built-in developer tools.
- arahaya 12y agoOne request. I think it would be great if you were able to view the ` ` symbol in the Inspector!
- adamkochanowicz 12y agoA native terminal right in the browser.
- pwneth 12y agoInspect element is not working properly. Will this be fixed? http://www.youtube.com/watch?v=Q-ucHgQ2PvQ http://www.youtube.com/watch?v=Q-ucHgQ2PvQ
- thatmiddleway 12y agoI'm having the same issue. For now, you can click the first icon on the left of the devtools top bar and then click on the element you want to inspect.
- pwneth 12y agoOh awesome. Never knew that even existed! Still though, I hope they fix inspect element on right click.
- rythie 12y agoOn HTTPS where the warning triangle comes up due to mixed content, tell us what the insecure resources were.
- yxhuvud 12y agoTreestyle tabs like layout by default. Seriously, FF without treestyle tabs IS NOT USABLE, and treestyle tabs breaks now and then in Aurora. Having such a layout actually being supported would be very nice. As a long term Aurora user, a working profile switcher that actually respects resetting the default profile to the usual one would also have been nice.
- edeion 12y agoProbably not the right place for suggestions. However... Developer or not, I have long waited for the possibility to: 1. Store bookmarks in "unsorted bookmarks" by default when I use ctrl-D. This option lacking, my bookmarks menu is so much cluttered that it is useless. 2. Edit bookmarks comments, with ctrl-D. 3. Query bookmarks and tags precisely (a bookmark with tags t1 and t2 which title contains regexp r). Today, with small hacks, I manage to search bookmarks and trigger web search through the address "awesome" bar. But a bit of syntax like in w3m.el would be so much better. I should try to prototype it in an app. These functionalities should not be very hard to implement. But it seems to be too much of a burden :(