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:
- C# for Visual Studio Code - basic C# support
- 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).