Skip to content

Debugging mode #789

Open
Open

Description

@erunion

Discussed in #545

Originally posted by erunion October 25, 2022
Because a lot of the work that api does behind the scenes can be a bit magical it'd be nice if there was some sort of debugging mode that you could enable that would log out the HAR that we use in the backend with fetch-har.

const sdk = require('@api/petstore');

// leaf handling
sdk.debug();
sdk.operation().then(...)
const sdk = require('@api/petstore');

sdk.debug().operation().then(...)

Perhaps the chained mode should only apply the debug mode to the operation it's attached to.

Activity

  1. added
    enhancement
    exploration
    area:core
    on Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreenhancementexploration

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions