You’d want to add a script like this
/// @description trace(...)
/// @param ...
function trace() {
var r = string(argument[0]);
for (var i = 1; i < argument_count; i++) {
r += " " + string(argument[i]);
}
show_debug_message(r);
}
However, the actual deal is that a layer isn’t recognized - I thought I’ve had everything covered (including effect layers) in the most recent version, so a sample wouldn’t hurt.