app probe-rs-debugger

An interface (CLI or DAP Server) on top of the debug probe capabilities provided by probe-rs

1 unstable release

Uses new Rust 2021

0.12.0 Nov 25, 2021

#659 in Embedded development

32 downloads per month


28K SLoC


A debugger that uses the probe-rs library to provide an interactive debugging experience.


cargo install --git https://github.com/probe-rs/probe-rs probe-rs-debugger


Assuming that CARGO_HOME is in your path, you can try any of the following:

  1. For full list of command line options
probe-rs-debugger --help
  1. An fully qualified example of a CLI based debug session
probe-rs-debugger debug --chip STM32H745ZITx --speed 24000 --probe PID:VID --program-binary ./target/thumbv7em-none-eabihf/debug/debug_example --protocol swd --connect-under-reset  --core-index 0 --flashing-enabled --reset-after-flashing --halt-after-reset
  1. Starting a DAP server on a specific port, to allow a DAP Client like VSCode to connect
probe-rs-debugger debug --dap --port 50001

Additional information

Please refer to probe-rs/vscode for additional instructions, as well as up to date information on supported functionality and ongoing improvements.


This debugger is an extension of, and builds on the prior work of the probe-rs community.


Licensed under either of


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~619K SLoC