


So as to remember that this is the debugging version of Chrome.

This repo contains the "Chrome-debug" app, and an icon to paste on it, which is basically the Chrome icon with "9222" written on it What's in the repo, if you want to do it the hard(er) way: There is no need to mess with bash paths, etc. Other note: This is a double-clickable app(let). I.e., if you put it in the dock and click on it, you do not get the usual dot by it saying it's running. Note: When you run this, you get another instance of Chrome running with the standard Chrome icon. (Note: if you drag it directly to the dock, I think it will stop working after you eject the.
CHROME FOR MAC DEBUGGER HOW TO
There are some mildly complicated instructions about how to set it up, which are included below, but in response to an issue raised by I realized that the simplest thing to do was to upload a. It has the usual Chrome logo but with "9222" superimposed on it, so that it is easy to tell which is which.
CHROME FOR MAC DEBUGGER CODE
I made a double-clickable icon which will start chrome in "remote debugging" mode, for use with VS Code (and maybe other things). The Safari developer tools must be enabled before use.ġ.Chrome-debug For debugging in VS Code on the Mac: a double-clickable icon which will start Chrome with -remote-debugging-port=9222 Menu > More tools > enable "Show developer menu" The Opera developer tools must be enabled before use.ġ. Menu location: Menu "three dots" icon > F12 Developer Tools > Console tab Menu location: Menu cog icon > F12 Developer Tools > Console tab Menu location: Tools > Developer Tools > Script tab > Console tab The difference is the web console offers a command line for entering JavaScript. The Firefox browser console and web console can both be used to view errors. Menu location: Menu > Developer > Web Console Menu location: Menu > Developer > Browser Console Menu location: Menu > More Tools > Developer Tools > Console tab

Uncaught Synta圎rror: Unexpected token ( view.js:45 Chrome Uncaught ReferenceError: jQuery is not defined dropdown.js:1 Uncaught TypeError: Cannot call method 'setValue' of undefined list.js:249 Uncaught ReferenceError: $ is not defined test-block:1967 Uncaught Synta圎rror: Unexpected token var product-list:355 The error is on the left, followed by the location, and then the line number. If you find an error, make sure to copy the error name, location, and line number. Errors will be displayed differently in each browser, but generally will be color coded, labelled, or marked with an identifying icon. Checking the browser console for errors is the first step in troubleshooting these issues.Īfter opening the browser console, you can start looking for errors. Problems with page editing, broken interface elements, misbehaving blocks, and interactive functionality may be due to JavaScript errors or conflicts.
