I wish to write a cinnamon applet. These are based in JavaScript. The code I wish to write changes services (turning them on and off, similar to WebDeveloperMenuApplet). I don't expect the debugging for the service start/stop/restart to work, but I was wondering how I would debug the menu items and the calls to the functions. I also wish to write a configuration applet that would involve some more complex coding or calls to a external server.
Is it possible to load this into a web browser or is there a better way to debugging this? I don't know where the imports command is pulling so I am not sure how to duplicate this in a web browser.
Currently using IntelliJ IDEA as IDE, but quite will to switch to anything for this project.