User Tools

Site Tools


Sidebar



chrome

Chrome

Open html file from terminal

open -a "Google Chrome" index.html

'Store as global variable' in Console

colors

In Chrome & Firefox (with Firebug 11.2+) you can add CSS in console.log messages

console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');

documentation

printf formatting

console.error("Error: %s (%i)", "Server is  not responding",500);

breakpoints in code zetten

debugger;
chrome.txt · Last modified: 2015/10/04 20:54 by rick