/bevy-diagnostics-explorer

Bevy Plugin allowing to visualize diagnostics (tracing spans) in VSCode

Primary LanguageTypeScriptApache License 2.0Apache-2.0

📊 Bevy Diagnostics Explorer – plugin and VSCode extension for visualizing diagnostics

Build status dependency status

Discord (ping me if it expires)

How to use

  1. Add dependency to Cargo.toml (TODO: publish to crates.io)
[dependencies]
bevy_diagnostics_explorer = { git = "...", branch = "main" }
  1. Add plugin to your app
use bevy_diagnostics_explorer::DiagnosticExplorerAgentPlugin;
...
    .add_plugin(DiagnosticExplorerAgentPlugin)
  1. Disable default logging system
use bevy::log::LogPlugin;

...
    .disable::<LogPlugin>()
  1. Enable trace feature for Bevy in Cargo.toml:
[dependencies]
bevy = { version = "...", features = ["trace"] }
  1. Run VSCode with Bevy Diagnostics Explorer extension installed