If you wanna make plugins for Enmity, you'll require node
installed and you can use the plugin-template project as a starting point.
Plugins are installed over https, you can use http-server to quickly spin up a local web server to test out your plugins on your device.
For debugging, you can use Console.app
on macOS connected to your device, search for Discord
as the process and javascript
for the category, make sure you enable Include Info Messages
under the view
menu.
A proper cross-platform debugger will be available in a little bit, it'll allow for proper code testing, auto-completion for the Enmity api and much more.