What is the recommended way to debug JavaScript in CWL?
2
1
Entering edit mode
4.2 years ago
ionox0 ▴ 390

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.6k views
ADD COMMENT
2
Entering edit mode
4.2 years ago
ionox0 ▴ 390

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

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

ADD COMMENT
0
Entering edit mode

seems like this is not available on Toil?

ADD REPLY
1
Entering edit mode
4.1 years ago

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.

ADD COMMENT

Login before adding your answer.

Traffic: 879 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6