Open the JavaScript console and enable debug output
Need to share detailed logs or debug issues in draw.io (diagrams.net)? Follow these steps to open your browser’s JavaScript console and enable debug output.
1. Open the JavaScript Console
Google Chrome
- Open draw.io (diagrams.net) in Chrome.
- Click the three dots (⋮) in the top-right corner.
- Go to
More Tools→Developer Tools. - Click the Console tab.
Shortcut:
- Windows/Linux: Ctrl+Shift+J
- Mac: Cmd+Option+J
Mozilla Firefox
- Open draw.io in Firefox.
- Click the three bars (☰) in the top-right corner.
- Go to
Web Developer→Web Console. - The console appears below or at the side.
Shortcut:
- Windows/Linux: Ctrl+Shift+K
- Mac: Cmd+Option+K
Microsoft Edge
- Open draw.io in Edge.
- Click the three dots (⋯) in the top-right.
- Go to
More Tools→Developer Tools. - Click the Console tab.
Shortcut:
- Windows/Linux: Ctrl+Shift+J
- Mac: Cmd+Option+J
Apple Safari (Mac)
- Open draw.io in Safari.
- If you haven’t already:
Go to
Safari→Settings(orPreferences) →Advanced. Check Show Develop menu in menu bar. - Go to
Develop→Show JavaScript Console.
Shortcut:
- Cmd+Option+C
2. Enable Debug Output in draw.io
- In draw.io, click the Help menu (top menu bar).
- At the bottom, find the version number.
- Hold the Shift key and click the version number.
You should see this message in the console:
Debug output enabled
Now, extra debug information will appear in the console as you use draw.io.
3. To Disable Debug Output
Repeat the Shift+Click on the version number in the Help menu.
You’ll see this message in the console:
Debug output disabled
4. What’s This For?
- Reporting bugs
- Troubleshooting problems
- Sharing logs with support
Copy messages from the console and include them in your support request if needed.