Firefox, Chrome strengthen in-browser debugging

Mozilla Firefox gives developers more customization control while Google Chrome introduces an in-browser code editor

Firefox now allows developer customizations to its code editor

Firefox now allows developer customizations to its code editor

Mozilla and Google have updated their browsers with features to help developers more effectively write and debug their websites.

With Tuesday's release of Firefox 23, Mozilla has introduced a number of features to its Web Developer Toolbar. And Google has announced features to its Chrome Developer Tools as well.

Both sets of technologies recognize the growing use of the browser for richer interactions between users and services, over and above the viewing of static Web pages.

"We still use the browser language, although most of what people do isn't browsing. You have email, calendaring, social networking -- it really is a different kind of activity," said Johnathan Nightingale, vice president of Firefox engineering at Mozilla.

Firefox 23 augments its Web Developer Toolbar with a new options panel for customizing the in-browser code debugger. Users can specify their own keyboard shortcuts, external code validation tools, syntax highlighting colors and other options.

The open source browser also comes with Network Monitor, which displays all the actions a browser takes when downloading a page, including load times and errors in processing the source code. Formerly, the browser's Web console displayed this information, but in a less visually intuitive way.

Also of potential interest to Web developers: Firefox 23 now can support a range of values for the HTML5 form control. It provides content blocking to protect against man-in-the-middle attacks. It also eliminates support for the much reviled blink effect and blink element.

Google has been paying attention to Web developers as well, updating its Chrome Developer Tools (DevTools), a set of Web authoring and debugging tools built into the Google Chrome browser.

Perhaps the most notable update is the introduction of Workspaces, a built-in source code editor that could eliminate the small but still frequent process of flipping between an external code editor and a browser to check a newly edited Web page.

With Workspaces, the developer can edit a Web page directly from within the browser, using the DevTools console. If the changes are successful, they can then be written back to disk, eliminating the need to open an external editor or IDE (integrated developer environment) altogether.

"This enables you to author and tweak your scripts and styles, instantly see those changes reflected in the browser and have them transparently persist to disk," wrote Vsevolod Vlasov, a Google software engineer on the Chrome DevTools team, in a blog post announcing the update.

The Chrome editor supports syntax highlighting for PHP, Python, Java, CSS, HTML, and JavaScript.

With the updated DevTools, developers can now live edit their pre-processed CSS files as well. CSS pre-processors are special languages that organize CSS code into formats that are easier to use and understand.

With this release, DevTool supports the popular Sass pre-processor, and Google promises to add support for the Less, Stylus and Compass pre-processors as well.

DevTools now also offers the ability to save scripts, bookmarklets and utilities so they can quickly be called up when editing source code in the browser. Google has also set up a community repository of snippets.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Tags Development toolsWeb services developmentapplication developmentsoftwaremozilla

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service

Comments

Comments are now closed.

Latest News Articles

Most Popular Articles

Follow Us

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Resources

Best Deals on GoodGearGuide

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?