We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de0c2d9 + 07eb091 commit 0bb0ef3Copy full SHA for 0bb0ef3
2 files changed
src/lib/stack.ts
@@ -200,4 +200,17 @@ export class Stack {
200
if (typeof port === "number") this.config.port = port;
201
return this;
202
}
203
+
204
+ /**
205
+ * @method setDebug
206
+ * @memberOf Stack
207
+ * @description Sets the debug option
208
+ * @param {Number} debug - Debug value
209
+ * @return {Stack}
210
+ * @instance
211
+ * */
212
+ setDebug(debug: boolean) {
213
+ if (typeof debug === "boolean") this.config.debug = debug;
214
+ return this;
215
+ }
216
src/lib/types.ts
@@ -23,6 +23,7 @@ export interface StackConfig extends HttpClientParams {
23
cacheOptions?: CacheOptions;
24
live_preview?: LivePreview;
25
port?: number;
26
+ debug?: boolean;
27
28
export interface CacheOptions extends PersistanceStoreOptions {
29
policy: Policy;
0 commit comments