Skip to content

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

License

Notifications You must be signed in to change notification settings

zaycev/bevy-diagnostics-explorer

Repository files navigation

📊 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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published