Skip to content

VSCode Specific Stuff โ€‹

While Rider is the recomended IDE, some might prefer VSCode. To get Elin development running smoothly in VScode, these instructions might be helpful.

Extensions โ€‹

The following extensions aid in developing mods for Elin on VSCode:

  1. C# for Visual Studio Code - basic C# support
  2. Unity for Visual Studio Code - Enables debugging running code

Debugging โ€‹

Instructions for debugging differ slightly compared to Rider. Upstram documentation is available here.

Follow the instructions in debugging to replace the mono dll with the debug version. Then create the following .vscode/launch.json file:

json
{
  "configurations": [
    {
      "name": "Attach to Elin",
      "type": "vstuc",
      "request": "attach",
      "endPoint": "127.0.0.1:55555"
    }
  ]
}

You can now attach to a running instance of Elin using the normal menu for VSCode under the debugging tab (CTRL+Shift+D).