Test homeyscript with argument

Hi.
I’m playing a little with homeyscript and want to test passing arguments. Is there a way for me to test it in the editor with arguments, or will I need to start it from a flow? If so, how can I see the console output?

const arg = args[0] ?? "test value";
1 Like

Thanks, but…I read one should use the getFlowToken() function to get to the arguments. Will they be available in the args array?

1 Like