July 19, 2011

Debugging WebSQL databases in Google Chrome

Debugging WebSQL databases in Google Chrome is straight forward, right? Just open up the developer tools (⌘ + ⇧ + I) go to the Resources Tab and select Databases. You can poke through the WebSQL databases of the current website there. But this won’t work if you are trying to inspect WebSQL Databases which have been created by a WebWorker! They just won’t show up in the Databases Tab.

Luckily you can work around this problem easily: Chrome stores all WebSQL Databases locally on a per-domain basis at ~/Library/Application Support/Google/Chrome/Default/databases.

$ find .
.
./Databases.db
./http_slides.html5rocks.com_0
./http_slides.html5rocks.com_0/175

Just grab the next best SQLite editor for OSX and get going again ;)

© Raphael Randschau 2010 - 2022 | Impressum