I am tryong to enable backend logs ``` export class SupertokensService { constructor(@Inject(Conf...
a
I am tryong to enable backend logs
Copy code
export class SupertokensService {
  constructor(@Inject(ConfigInjectionToken) private config: AuthModuleConfig) {
    supertokens.init({
      debug: true,
      appInfo: config.appInfo,
      supertokens: {
        connectionURI: config.connectionURI,
        apiKey: config.apiKey,
      },
      recipeList: SuperTokensConfig.recipeList,
    });
  }
}
but not able to as i am getting error
Copy code
Argument of type '{ debug: boolean; appInfo: AppInfo; supertokens: { connectionURI: string; apiKey: string; }; recipeList: RecipeListFunction[]; }' is not assignable to parameter of type 'TypeInput'.
  Object literal may only specify known properties, and 'debug' does not exist in type 'TypeInput'.

10       debug: true,
         ~~~~~~~~~~~
r
hey @anurag06557 you seem to be using an older version of our docs. Instead, add the env var
SUPERTOKENS_DEBUG=1
when you start the node process
a
ok
4 Views