As described in Ryan Webber's article (see link at the end of my reply), you can use the print() function in combination with the Monitor window for debugging Javascript code.
This code worked :
function main()
{
var outhex;
outhex = (arguments[0].toString(16)).toUpperCase();
print (outhex);
print ('\n');
return [arguments[0].toString(2), outhex ] ;
}Important: At first, the Javascript actor outputted only the digits of the Hex code, no letters A-F. It seemed to me that it converted the string back to integer due to automatic data conversion. After connecting the output of the Javascript actor to a Trigger Text actor it worked.
Cheers, Gunther
https://support.troikatronix.c...