I am trying to set debug: true in init, however ty...
# support-questions-legacy
n
I am trying to set debug: true in init, however typeInut doesn't have definition of debug. using supertokens-node 14.0.2
r
hey @Nik thats a flag in the newer versions of the sdk
for the version you have set the env var in the node process to:
Copy code
DEBUG=com.supertokens
n
I've set it up like so and still not getting any of the supertokens logging. (i am really new to typescript, so could well be that i am missing something?)
r
right no. You need to run the node process like
DEBUG=com.supertokens node index.js
or
DEBUG=com.supertokens npm run start