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

Is there a way to analyze components at the repl with their config resolved ? #109

Open
qleguennec opened this issue Mar 12, 2024 · 1 comment

Comments

@qleguennec
Copy link

Let's say I have an integrant system with multiple components and I want to debug one of them.
For that, I need to be able to access the resolved config of that component, to be able to call functions at the repl, and analyze the component's behavior.

Reading the issues, #45 was a similar request, but the proposed solution doesn't solve my issue, because ig/resolve-key requires to modify existing production code and I don't want to do that.

Is there a way to do that without touching the config at all ?

@weavejester
Copy link
Owner

You'd need to add in some manner of debugging. For example you could attached the resolved config via metadata, or keep it in an atom, or log it to STDERR or a file, or any of the other usual mechanisms we have for analyzing intermediate data within a program.

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

No branches or pull requests

2 participants