These environment variables are not formally documented anywhere as they should normally not be needed.
NEUTRON_JAVASCRIPT_DELAY
When the debugger is started on a JavaScript script, the debugger (devtools in a visible web browser) is launched. The script is paused to wait for the external debugger to attach to the host before continuing the script. The default delay on Windows is 3s, and on Mac is 1s (Windows is longer because the browser is hosted in an external process, so there is more IPC overhead). This variable, set with an integer number of seconds, lets you change this pause time. Valid values are any integer from 0 to 60. If this value is too short, the debugger may not yet be attached before the script is resumed, so your script will run without debugging (but the debugger should attach afterwards, and you can re-run it from the console or Fusion or query any variables that were set from the initial run). If this value is set too big, you'll just be waiting too long for the script run after the debugger comes up.
NEUTRON_CHROME_DEBUGGING_PORT
This just sets the port number that Chromium will use to communicate with the debugger (Windows only). The default port number used is 1234. It can be set to any integer valid port number. The only reason to ever set this would be if the default port number is in conflict with some other application, or policy restriction on your system.
NEUTRON_CHROME_DEVTOOLS
This should never be set. If it is set (to any value) it will actually disable some functionality in Fusion (such as being able to invoke Fusion from A360). It was only originally suggested because at one point (back in the initial preview release of the JavaScript API) it was used to enable the JavaScript debugger (but now it is always enabled).
I don't know enough about JetBrains, but you would only be able to use it if you are able to connect it to the Chromium devtools debugging port. There would be no option to invoke it automatically that I'm aware of (unless you substituted a proxy process for Chrome somehow). You cannot run a Fusion script in a standalone browser, or the interpreter used by an IDE like JetBrains, because the interpreter that runs our script needs to be hooked with IPC callbacks into Fusion code, and a standalone browser or interpreter would not have this.
Kris
Kris Kaplan