Skip to content

Commit

Permalink
Document dev commands and dev tools
Browse files Browse the repository at this point in the history
  • Loading branch information
logseq-cldwalker committed Feb 3, 2023
1 parent 3d21fc6 commit c4d15ec
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions docs/dev-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,24 @@ Currently the codebase is not formatted/indented consistently. We loosely follow

## Development Tools

There are some babashka tasks under `nbb:` which are useful for inspecting
database changes in realtime. See [these
docs](https://github.com/logseq/bb-tasks#logseqbb-tasksnbbwatch) for more info.
### Babashka tasks

There are a number of bb tasks under `dev:` for developers. There are also some
tasks under `nbb:` which are useful for inspecting database changes in realtime.
See [these docs](https://github.com/logseq/bb-tasks#logseqbb-tasksnbbwatch) for
more info.

### Dev Commands

In the app, you can enable Dev commands under `Settings > Advanced > Developer
mode`. Then search for commands starting with `(Dev)`. Commands include
inspectors for block/page data and AST.

### Desktop Developer Tools

Since the desktop app is built with Electron, a full set of Chromium developer
tools is available under the menu `View > Toggle Developer Tools`. Handy tools
include a JS console and HTML inspector.

## FAQ

Expand Down

0 comments on commit c4d15ec

Please sign in to comment.