mirror of
https://github.com/mnaoumov/obsidian-advanced-debug-mode.git
synced 2026-07-22 05:44:00 +00:00
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.
10 lines
447 B
TypeScript
10 lines
447 B
TypeScript
// Per-vault startup script, run by the universal Demo Vault Helper plugin (via CodeScript
|
|
// Toolkit's require) once CodeScript Toolkit is installed and enabled. This is where each
|
|
// plugin's demo vault does its own startup setup. Here it just opens the landing note.
|
|
|
|
const START_NOTE_PATH = '00 Start.md';
|
|
|
|
const startNote = app.vault.getFileByPath(START_NOTE_PATH);
|
|
if (startNote) {
|
|
void app.workspace.getLeaf(false).openFile(startNote);
|
|
}
|