Skip to content
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

Run the chainlink node with dlv #1475

Closed
wants to merge 1 commit into from
Closed

Conversation

ferglor
Copy link
Collaborator

@ferglor ferglor commented Dec 12, 2024


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The modification enhances the container initialization command for debugging purposes, enabling the use of Delve debugger to attach to the Chainlink node process. This change allows developers to debug the node in a running container, improving the development and troubleshooting experience.

What

  • framework/components/clnode/clnode.go
    • Modified the Entrypoint command in the container request setup.
      • Changed from running the Chainlink node directly to using dlv (Delve debugger) with specific flags to start the Chainlink node. This allows for debugging capabilities within the container by exposing the Delve server on port 40000 and enabling multiclient connections.

@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube

@skudasov
Copy link
Collaborator

Already merged in another PR and released in latest version

@skudasov skudasov closed this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants