how to view javascript console in chrome code example Example 1: mac open developer tools chrome Command + Option + i Example 2: how to open console in google chrome SHFT+CTRL+J