You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No you don't misunderstand, in theory that should work. Have you tried setting it to 0? Otherwise, have you tried doing simply DEBUG_DEPTH=null?
I looked at the code again and wow, we shouldn't be doing it the way we are. It's not very robust / potentially not very secure (though I struggle to think of an e.g. prototype injection attack where we could exploit it).
If you can't figure it out then let me know, I'll mark this as a bug in the meantime.
Description
How to set max array length (
maxArrayLength
)?Code I run
How I have tried to set max array length
Result
Despite all the 3 methods I have tried to set max array length I get the same result:
Additional Info
https://www.npmjs.com/package/debug#environment-variables chapter in documentation tells that by using DEBUG_ I can set Options object that gets used with %o/%O formatters like DEBUG_DEPTH, do I misunderstand that part?
The text was updated successfully, but these errors were encountered: