Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

probe-rs/vscode-legacy

Repository files navigation

probe-rs-vscode README

Debugger plugin for vscode, based on probe-rs.

Currently in early alpha stage, except for halting and running not a lot is working yet.

Development setup

The best way to debug and develop the plugin is to start the debug-adapter in server mode, and then attach to the server from vscode. The server can be started with the following command:

cargo run -- --server --port 8800

To run the vscode extension, a new windows of vscode containing the extension can be launched using the .vscode/launch.json configuration. Pressing F5 should open a new window which contains the extension. In that new window, open a project you want to debug, and then launch the extension using a configuration similiar to this:

{

    "version": "0.2.0",
    "configurations": [{
            "type": "probe_rs",
            "request": "attach",
            "name": "Example: gpio_hal_blinky, attach to debugger",
            "program": "${workspaceRoot}/target/thumbv6m-none-eabi/debug/examples/gpio_hal_blinky",
            "cwd": "${workspaceRoot}",
            "reset": true,
            "halt_after_reset": false,
            "server_mode": true,
            "server_port": 8800,
            "chip": "nrf5182"
        }
    ]
}

About

A vscode plugin for probe-rs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy