Skip to content

How can I locally debug the code of the workflow server? 🙏 #12587

Closed Answered by jswxstw
mio4kon asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you can try it as below:

Envirentmont example:

ARCHIVED_WORKFLOW_GC_PERIOD=30s;ARGO_EXECUTOR_PLUGINS=false;ARGO_LOG_LEVEL=debug;ARGO_MANAGED_NAMESPACE=argo;ARGO_NAMESPACE=argo;ARGO_NAMESPACED=true;ARGO_PROGRESS_PATCH_TICK_DURATION=7s;ARGO_REMOVE_PVC_PROTECTION_FINALIZER=true;DEFAULT_REQUEUE_TIME=1s;LEADER_ELECTION_DISABLE=true;MAX_OPERATION_TIME=3600s;UPPERIO_DB_DEBUG=1;WORKFLOW_GC_PERIOD=30s

LEADER_ELECTION_DISABLE should be true and MAX_OPERATION_TIME should be increased in debug mode, other envs can be modified as needed.

Go Tool arguments:

-v -ldflags '-X github.com/argoproj/argo-workflows/v3.version=latest'

By the way, you can use kit ui to run argo server and ui without work…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mio4kon
Comment options

@mio4kon
Comment options

@mio4kon
Comment options

@jswxstw
Comment options

Answer selected by mio4kon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/server area/contributing Contributing docs, ownership, etc issues & PRs
2 participants