This is a test version of Biostars. For the public version, visit https://www.biostars.org.
What is the recommended way to debug JavaScript in CWL?

Is it possible to use console.log in CWL javascript expressions? Also I was wondering about debugger statements or stepping through the code? Or what is the recommended way to go about debugging with CWL javascript?

cwl

2 answers

Rabix composer tool editor (http://rabix.io/) has the JS editor integrated. You can simulate tool inputs and it shows what is returned with the expression.

I saw in this PR that there's a --js-console option

https://github.com/common-workflow-language/cwltool/pull/438

seems like this is not available on Toil?

Log in to answer this question.