Whether to start the SDK runtime in debug mode with an interactive terminal.
(ctx context.Context)
| 13611 | |
| 13612 | // Whether to start the SDK runtime in debug mode with an interactive terminal. |
| 13613 | func (r *SDKConfig) Debug(ctx context.Context) (bool, error) { |
| 13614 | if r.debug != nil { |
| 13615 | return *r.debug, nil |
| 13616 | } |
| 13617 | q := r.query.Select("debug") |
| 13618 | |
| 13619 | var response bool |
| 13620 | |
| 13621 | q = q.Bind(&response) |
| 13622 | return response, q.Execute(ctx) |
| 13623 | } |
| 13624 | |
| 13625 | // A unique identifier for this SDKConfig. |
| 13626 | func (r *SDKConfig) ID(ctx context.Context) (ID, error) { |