Dashcam
HomeDashboard
  • Setup
    • đŸ–Ĩī¸Desktop App
    • 🌐Chrome Extension
    • âŒ¨ī¸CLI
    • 🐙GitHub Action
  • Manual Capture
    • đŸŽŦScreencast
    • âĒInstant Replay
    • 🐞Error Detection
  • Automated Test Recording
    • đŸĒŸWindows
  • Sharing
    • â˜‘ī¸Jira
    • 🐙GitHub
    • ⚡Zapier
    • đŸ’ŦSlack
  • đŸ•šī¸Configure
    • Display Selection
    • Storage
    • Logs
    • Other Settings
  • 💭FAQ
    • How Does Dashcam Work?
    • How can I tell what is recording and when?
    • Where are files saved on my machine?
    • How can I monitor Dashcam's internet activity?
    • How can I delete published clips?
    • Can I edit a published clip?
    • How long are published clips stored?
    • How can I share a clip?
    • How can I enable public links?
    • Is my screen being uploaded to the cloud in the background?
    • How do I update Dashcam?
    • I'm having problems streaming Netflix or Hulu
    • Archive
      • Piping to Files Directly
      • Log Files
      • đŸŽžī¸Trim
      • 😄Overview
      • Unity
      • Install the Chrome Extension
      • Install the CLI
      • Overview
      • Share
      • 😍Using the app
      • âš™ī¸Settings
      • 🧩Chromium
      • Live Demo!
      • Examples
      • Usage
      • Installation
      • GitHub Recipies
      • Embedding a Clip in a Readme
      • Embedding a playable clip in HTML
      • Embedding a Clip as GIF in HTML
      • Embedding a Clip as GIF in a Pull Request
      • đŸĒŖBitBucket
      • Add users to your team
      • 📂Your workspace
      • 🐙GitHub
      • ✅Jira Button
      • 🔧NodeJS
      • 🔗Web
        • Hotlinks
        • Javascript
      • đŸŽŦEditing a Dash
        • Creating a Dash
      • Uploading a Dash
      • đŸĒŸWindows Setup
      • 🍎Mac Setup
        • Install Dashcam on Mac
        • Enable Accessibility Features
      • Clip Expiration
      • đŸĨœNut.js
Powered by GitBook
On this page
  • Run Chrome in Debug Mode
  • Mac
  • Windows
  • Verify Chrome Debug Logs
  • Mac
  • Windows
  • Configure Dashcam to Monitor Chrome Debug Logs

Was this helpful?

  1. FAQ
  2. Archive

Chromium

How to track logs from Chrome extensions.

PreviousSettingsNextLive Demo!

Last updated 1 year ago

Was this helpful?

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 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

  1. Quit any running instance of Chrome.

  2. Run the terminal application.

  3. In the terminal, run the command: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --enable-logging --v=1

  4. Press Enter.

Windows

  1. Quit any running instance of Chrome.

  2. Right-click your Chrome shortcut.

  3. Select Properties.

  4. 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

  5. Click ApplyOK.

  6. 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

~/Library/Application Support/Google/Chrome/chrome_debug.log

Windows

%LOCALAPPDATA%\Google\Chrome\User Data\chrome_debug.log

Configure Dashcam to Monitor Chrome Debug Logs

Finally, configure Dashcam to monitor this file for changes.

  1. Navigate to the Logs configuration window

  2. Select System

  3. Supply the file path from the previous step

  4. 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.

💭
🧩
Chrome Debug Mode
and then