big-article-38157
10/25/2023, 11:25 AMhappy-autumn-40938
10/25/2023, 4:27 PMgrowthBook.debug = true
as soon as the SDK is constructed (where growthBook
is your SDK instance). You can also use the new "Test Feature Rules" module in the GrowthBook app's Feature page to see how sample users might or might not be bucketed.big-article-38157
10/25/2023, 4:31 PMhappy-autumn-40938
10/25/2023, 11:38 PMbig-article-38157
10/26/2023, 12:37 AMhappy-autumn-40938
11/01/2023, 5:47 PMbig-article-38157
11/01/2023, 5:52 PMhappy-autumn-40938
11/01/2023, 6:01 PMfresh-football-47124
big-article-38157
11/22/2023, 11:06 AMfresh-football-47124
big-article-38157
11/22/2023, 9:16 PMfresh-football-47124
const log: [string, never][] = [];
const gb = new GrowthBook({
attributes: attributes,
trackingCallback: ...
log: (msg: string, ctx: never) => {
log.push([msg, ctx]);
},
});
gb.debug = true;
const result = gb.evalFeature(feature.id);
console.log("result", result);
console.log("log", log);
You could add something like this, and then log the results somewhere to see if there is a race conditionbig-article-38157
11/23/2023, 9:38 AMfresh-football-47124
big-article-38157
11/23/2023, 9:21 PMfresh-football-47124
big-article-38157
11/23/2023, 9:22 PMfresh-football-47124
big-article-38157
11/23/2023, 9:23 PMfresh-football-47124
big-article-38157
11/23/2023, 9:24 PMfresh-football-47124
big-article-38157
11/23/2023, 9:26 PM