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

Add debug output to the CLI #309

Open
AlCalzone opened this issue Jan 10, 2019 · 2 comments
Open

Add debug output to the CLI #309

AlCalzone opened this issue Jan 10, 2019 · 2 comments

Comments

@AlCalzone
Copy link
Collaborator

In order to debug issues with the CLI, it would be nice to enable some log output. The debug module is pretty good for that, as it allows us to run the CLI commands with the DEBUG variable set, e.g.:
$ DEBUG=* iobroker host this

@Apollon77
Copy link
Collaborator

Would a general "--debug" parameter also be an idea?

@AlCalzone
Copy link
Collaborator Author

AlCalzone commented Apr 9, 2020

The previous idea is ready-to-implement, we would just need to add the the module and sprinkle debug("...") calls where appropriate. --debug would require custom logic and I don't think it is required that often.

foxriver76 added a commit to foxriver76/ioBroker.js-controller that referenced this issue Mar 18, 2021
- upgrade adapters w/o dependecies and with irrelevant dependencies first
- then the dependent adapters
- then the adapters which need the dependent adapters
- no longer list 'is-up-to-date' + 'not installed' infos for all adapters anymore, use 'iob update' if you need this
- use debug module as described in ioBroker#309 - maybe we can also close this issue if we spread debug like here in more places in the future
- implements ioBroker#1015
foxriver76 added a commit to foxriver76/ioBroker.js-controller that referenced this issue Mar 18, 2021
- upgrade adapters w/o dependecies and with irrelevant dependencies first
- then the dependent adapters
- then the adapters which need the dependent adapters
- no longer list 'is-up-to-date' + 'not installed' infos for all adapters anymore, use 'iob update' if you need this
- use debug module as described in ioBroker#309 - maybe we can also close this issue if we spread debug like here in more places in the future
- implements ioBroker#1015
foxriver76 added a commit to foxriver76/ioBroker.js-controller that referenced this issue Mar 18, 2021
- upgrade adapters w/o dependecies and with irrelevant dependencies first
- then the dependent adapters
- then the adapters which need the dependent adapters
- no longer list 'is-up-to-date' + 'not installed' infos for all adapters anymore, use 'iob update' if you need this
- use debug module as described in ioBroker#309 - maybe we can also close this issue if we spread debug like here in more places in the future
- implements ioBroker#1015
Apollon77 pushed a commit that referenced this issue Apr 16, 2021
- upgrade adapters w/o dependecies and with irrelevant dependencies first
- then the dependent adapters
- then the adapters which need the dependent adapters
- no longer list 'is-up-to-date' + 'not installed' infos for all adapters anymore, use 'iob update' if you need this
- use debug module as described in #309 - maybe we can also close this issue if we spread debug like here in more places in the future
- implements #1015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants