Question: What is the recommended way to debug JavaScript in CWL?
0
gravatar for ionox0
2.3 years ago by
ionox0360
ionox0360 wrote:

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.0k views
ADD COMMENTlink modified 2.3 years ago by bogdan.gavrilovic230 • written 2.3 years ago by ionox0360
1
gravatar for ionox0
2.3 years ago by
ionox0360
ionox0360 wrote:

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

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

ADD COMMENTlink written 2.3 years ago by ionox0360
1
gravatar for bogdan.gavrilovic
2.3 years ago by
bogdan.gavrilovic230 wrote:

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 COMMENTlink written 2.3 years ago by bogdan.gavrilovic230
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1266 users visited in the last hour