September 20, 20214 yr To be able to debug live you need to edit files in /usr/local/emhttp. Right now I keep a shell session from within the Unraid UI but editing files via nano isn't that elegant. Is there a way to create a samba share against /usr or is there a better way?
September 20, 20214 yr A program like WinSCP allows you to connect via ssh and edit files via a local editor. A VSCode docker container with a mapping to /usr/local/emhttp would work as well.
September 20, 20214 yr Author 14 minutes ago, primeval_god said: A program like WinSCP allows you to connect via ssh and edit files via a local editor. A VSCode docker container with a mapping to /usr/local/emhttp would work as well. Ohh. I thought maybe there was a more official way. I'll use the SSH plugin for VS Code. Thanks!
September 20, 20214 yr When it comes to unRAID plugin development so far as i can tell there really isnt much official anything.
September 20, 20214 yr Author 1 minute ago, primeval_god said: When it comes to unRAID plugin development so far as i can tell there really isnt much official anything. Yeah. As I learn things I am trying to document them into a GitHub repo to build a "Unraid Plugin Development How To" guide. Can hopefully help the next person.
September 20, 20214 yr Author Thank you! I will check it out. I was hoping for a way to be able to edit from VS Code. Using SSH for now.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.