Add a developer-focused demo vault that shows how Advanced Debug Mode enriches the DevTools console. Notes are numbered basic to advanced and cover debug mode, long stack traces (with a Run button that throws through async boundaries), async long stack traces, long-running-task timeouts, mobile DevTools, debug namespaces, and every setting. A no-app integration suite keeps the notes in sync with the PluginSettings surface. The root README documents the three ways to open it.
1.5 KiB
Welcome to the Advanced Debug Mode demo vault. This is a plugin for developers: it enriches Obsidian's built-in debug mode and the DevTools console so that plugin bugs are easier to track down. Nothing here changes how your notes look - the payoff shows up in DevTools, so keep it open (Ctrl/Cmd + Shift + I on desktop) as you work through the notes.
The headline feature is long stack traces. Normally a JavaScript error dropped through setTimeout, addEventListener, or a Promise chain loses every frame that led up to it, so the console shows a stump of a stack. With this plugin enabled, those async boundaries are stitched back together and you get the full call chain. 02 Long stack traces has a Run button that throws such an error so you can see the difference yourself.
[!TIP] Interactive buttons
Some notes have Run buttons, powered by
CodeScript Toolkit, which this vault installs for you automatically on first open (see 08 CodeScript Toolkit prerequisite). Every button here is honest about what it does - most just throw an error on purpose so you can read the resulting stack trace in DevTools.
Features
- 01 Debug mode
- 02 Long stack traces
- 03 Async long stack traces
- 04 Long running tasks
- 05 More debug tools
- 06 Settings