-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for remote debug #4266
Conversation
Signed-off-by: Paolo Di Tommaso <[email protected]>
✅ Deploy Preview for nextflow-docs-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Signed-off-by: Paolo Di Tommaso <[email protected]>
The problem of this approach is that as along as it parses the script file, the computeClassName is ignored. As a side effect, script containing an identifier as the file name (that's compiled into the class name) will throw an error. For example having a script
|
Signed-off-by: Paolo Di Tommaso <[email protected]>
Signed-off-by: Paolo Di Tommaso <[email protected]>
Ok, merging this as an experimental feature. It will be needed #4267 for a more soluting support. |
This commit adds the a possibility to compile nextflow scripts with debugging information and debug them interactively via a remote debugger commonly available via IntellJ or similar IDE. To enable this feature it should the top-level command line option `-remote-debug`, when specified the execution of nextflow stops and wait for the starting of a debugging session in the IDE. By default, the TCP port 5005 is used. It can be changed by using the environment variable NXF_REMOTE_DEBUG_PORT. Credits: Jorge Aguilera Signed-off-by: Paolo Di Tommaso <[email protected]>
This PR adds the support for remote debugging aka IDE interactive debug to Nextflow script, following the method proposed by Jorge Aguilera in PR #3197.
The remote debug can be enabled by using the top level option
-remote-debug
both fornextflow
andlaunch.sh
script (for development purposes).By default it uses the port
5005
. it can be overridden with by using the env variableNXF_REMOTE_DEBUG_PORT
.Credits https://fediverse.tv/w/3dsuE1tX25orRLmNYtBJrD