đ§ŠChromium
How to track logs from Chrome extensions.
If you're developing a Chrome Extension, creating bug reports with the full context can be hard, as logs and errors are hidden within background processes.
With Dashcam, you attach logs from Chrome Debug Mode to video bug reports and get the full context behind issues.
First, you'll need to run Chrome in debug mode.
Run Chrome in Debug Mode
Mac
Quit any running instance of Chrome.
Run the terminal application.
In the terminal, run the command:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --enable-logging --v=1
Press Enter.
Windows
Quit any running instance of Chrome.
Right-click your Chrome shortcut.
Select Properties.
At the end of the Target: line, add the command line flags:
--enable-logging --v=1
With that example flag, it should look like:chrome.exe --enable-logging --v=1
Launch Chrome using your shortcut.
Verify Chrome Debug Logs
Verify that Chrome is now writing debug logs to a file. The file is called chrome_debug.log
and will be found in the following location:
Mac
Windows
Configure Dashcam to Monitor Chrome Debug Logs
Finally, configure Dashcam to monitor this file for changes.
Navigate to the Logs configuration window
Select System
Supply the file path from the previous step
Click Save
Your next Dashcam clip will include logs from Chrome debug mode, including the logs from your extension!
Note that Dashcam will only attach new logs, so be sure to launch your browser in debug mode to fully test.
Last updated