browser-indexeddb

command
v0.53.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

README

Debugging

This demo is useful for debugging the IndexedDB tests.

See: https://blog.noops.land/debugging-webAssembly-from-go-sources-in-chrome-devtools

Download: https://chromewebstore.google.com/detail/cc++-devtools-support-dwa/pdcpmagijalfljmkmjngeonclgbbannb?pli=1

Finally, enable WebAssembly debugging in the DevTools Experiments. Open Chrome DevTools, click the gear (⚙) icon in the top right corner of DevTools pane, go to the Experiments panel and tick WebAssembly Debugging: Enable DWARF support:

Run serve.bash and browse to localhost:8080

In Chrome DevTools, open the Sources tab. In the Page panel, open main.go from the file:// tree.

Note: breakpoints and stepping do not work quite as expected currently.

Listing Keys in the DB

In the js console:

window.listDbKeys()

Documentation

Rendered for js/wasm
The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL