console.log
and debugger
statements from your wallet setup files when generating the cache.
At first glance, it seems impossible to debug your wallet setup files.
However, we’ve added a special --debug
flag to our CLI, which will turn off the stripping of console.log
and debugger
statements.
Let’s take the following wallet setup file and let’s assume that it doesn’t work:
SEED_PHRASE
and PASSWORD
constants are correctly defined by adding two console.log
statements:
console.log
statements, so you won’t see anything in the console.
To disable this behavior, you have to add the --debug
flag to the CLI command:
console.log
and debugger
statements were stripped from the file before generating the hash.
To force rebuild the cache, you’ll have to add the --force
flag:
console.log
statements in the console! 🎉
--force
flags works.