File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -200,4 +200,17 @@ export class Stack {
200200 if ( typeof port === "number" ) this . config . port = port ;
201201 return this ;
202202 }
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+ }
203216}
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export interface StackConfig extends HttpClientParams {
2323 cacheOptions ?: CacheOptions ;
2424 live_preview ?: LivePreview ;
2525 port ?: number ;
26+ debug ?: boolean ;
2627}
2728export interface CacheOptions extends PersistanceStoreOptions {
2829 policy : Policy ;
You can’t perform that action at this time.
0 commit comments