@vulcan-sql/extension-debug-tools
TypeScript icon, indicating that this package has built-in type declarations

0.10.4 • Public • Published

Debug tools

A collection of useful tools to help us develop extensions.

Install

  1. Install package

    npm i @vulcan-sql/extension-debug-tools
  2. Update vulcan.yaml

    extensions:
      debug: '@vulcan-sql/extension-debug-tools'
    
    debug:
      # Optional: Path to store debug logs
      debug-folder: 'path-to-a-folder'

Tools

  1. AST Printer: Generate AST tree in mermaid format.
    1. Build the project: vulcan build
    2. After building, we’ll generate AST trees in .vulcan-debug folder for each query. You can use some tools like Mermaid Live Editor to view them.

Package Sidebar

Install

npm i @vulcan-sql/extension-debug-tools

Weekly Downloads

96

Version

0.10.4

License

Apache-2.0

Unpacked Size

8.89 kB

Total Files

8

Last publish

Collaborators

  • fredalai
  • shimin.wong
  • cannerbot
  • wwwy3y3