Skip to content

caadxyz/vscode-rhino-debug

 
 

Repository files navigation

VS Code Rhino Debug

A simple VS Code debugger extension for Rhinoceros based on vscode-mono-debug.

Using the extension

Use a launch.json with the following:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch Rhinoceros",
            "type": "rhino",
            "request": "launch",
            "runtimeExecutable": "/Applications/Rhinoceros.app/Contents/MacOS/Rhinoceros",
            "passDebugOptionsViaEnvironmentVariable": true,
            "env": {
                // optional: register your plugin(s) to load
                "RHINO_PLUGIN_PATH": "${workspaceFolder}/Path/To/MyPlugin.rhp",
                "GRASSHOPPER_PLUGINS": "${workspaceFolder}/Path/To/MyGHPlugin.gha"
            }
        }
    ]
}

Building the rhino-debug extension

Building and using VS Code rhino-debug requires a basic POSIX-like environment, a Bash-like shell, and an installed Mono framework.

First, clone the rhino-debug project:

$ git clone --recursive https://github.com/mcneel/vscode-rhino-debug

To build the extension vsix, run:

$ cd vscode-rhino-debug
$ npm install
$ make

About

A simple VS Code debug adapter for mono

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 85.7%
  • TypeScript 13.0%
  • Makefile 1.3%