Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>RenodeNew to Visual Studio Code? Get it now.
Renode

Renode

Antmicro

|
70 installs
| (0) | Free
Use Renode from within VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Renode VSCode Extension

Copyright (c) 2026 Antmicro

Renode Extensions for Visual Studio Code and Theia, allowing users to easily integrate with Renode, an open source simulation framework for embedded systems.

Debugging the demo

Features

  • Enables emulating and debugging projects in Renode directly from the editor.
  • Web extension compatibility - most features work seamlessly in pure web environments, like vscode.dev.

Requirements

  • Renode (the extension can either connect to a local copy or download the Renode build matching its version, for Windows or Linux).
  • GDB, with support for the architecture you are planning to debug.

Installing the extension

The extension can be installed from the Visual Studio Code Marketplace.

Building and manual installation

To build the extension, use pnpm:

pnpm i && pnpm run v:pack

This will produce a renode*.vsix file you can install in your IDE.

You can install it in the Extension tab, with the Install from VSIX option.

Connecting to Renode from pure web editors

In pure web environments (like vscode.dev), the extension cannot automatically start Renode and needs to connect to a running instance using a WebSocket.

To do that, start Renode in server mode:

renode --server-mode

If both Renode and the web environment are on the same machine, the extension will pick up the running server automatically. In other cases, the WebSocket URI can be changed in the extension's settings using Default Session Uri.

Plugin configuration

Here is the sample configuration file you can place in .vscode/launch.json or .theia/launch.json:

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "renodegdb",
      "request": "launch",
      "name": "Debug in Renode",
      "elf": "${workspaceFolder}/path/to/your/binary.elf",
      "gdb": "gdb-multiarch" /* provide the binary for GDB you would like to use */,

      "resc": "${workspaceFolder}/your.resc",

      "cwd": "${workspaceFolder}",
      "terminals": [
        "ws://127.0.0.1:21234/monitor", // Monitor
        "ws://127.0.0.1:21234/logs" // Log
      ]
    }
  ]
}

For a working one with comments for each option, see examples/.vscode/launch.json.

Example

examples/ has a ready to debug demo - Zephyr running on a Nucleo H753ZI.

Testing

See TEST.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft