Skip to content

Debugging

Benny Neugebauer edited this page Oct 30, 2017 · 12 revisions

You can enable debug logs on https://app.wire.com/, if you enter wire.app.enable_debugging() in your Browser's console.

Database

IndexedDB

Tools

Documentation

Connection

Check if WebSocket is connected

wire.app.service.web_socket.socket.readyState
  • 0 — connection not yet established
  • 1 — conncetion established
  • 2 — in closing handshake
  • 3 — connection closed or could not open

Delete all cached data

Delete IndexedDB

On Windows, remove everything from here:

%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\IndexedDB

On Linux, the folder is located at:

/home/[USERNAME]/.config/google-chrome/Default/IndexedDB/

On Mac, do the following:

  1. In Chrome, go to "Settings" (or "Preferences" under the Chrome menu)
  2. Click "show advanced settings" (at the bottom of the page)
  3. Go to "Privacy" > "Content Settings" > "All cookies and Site Data" > find the domain where you created the IndexedDB
  4. Hit either the "X" or click "Indexed Database" > Remove

Disable Web Security

  • "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="c:/chromedev"

image

Clone this wiki locally