Skip to content

Conversation

@joe-yeager
Copy link
Contributor

@joe-yeager joe-yeager commented Apr 25, 2025

Description and Context

Add a hidden --network-debug flag that sets the log level to debug and sets HUBSPOT_NETWORK_LOGGING to true so LDL will log http traffic

.option('network-debug', {
default: false,
type: 'boolean',
hidden: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a compelling reason to unhide this. If we think external users want to use it, I can add some copy and unhide it. It's realistically more for our benefit

kemmerle
kemmerle previously approved these changes Apr 25, 2025
it('should support the correct options', () => {
createCommand.builder(yargs);

expect(yargs.option).toHaveBeenCalledTimes(3);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a fragile assertion, so I felt it was better to remove it than increment the number

@joe-yeager joe-yeager merged commit 53867be into main Apr 25, 2025
1 check passed
@joe-yeager joe-yeager deleted the jy/add-network-debug branch April 25, 2025 19:14
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.

3 participants