This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 975
Ledger testing
Nejc Zdovc edited this page Apr 5, 2018
·
5 revisions
Performing QA and/or debugging the ledger (Brave Payments) is easy from the command line.
You can find available options in Command line flags
If you're on Windows, you should use Git Bash or set the environment variables (see instructions in packaged build section). Providing the options should be as easy as:
LEDGER_VERBOSE npm run start
If you're using a packaged build on Windows, you'll want to use mingw (ex: from Git Bash) OR set the options manually as environment variables. Linux and macOS, you can pass them when invoking Brave
cd ~/AppData/Local/Brave/app-0.19.110/
LEDGER_VERBOSE=true ./Brave
Set the environment variables
- Windows key > type
environment variables
> pickEdit the system environment variables
- Click
Environment Variables...
- Under
System variables
, add new environment variables for the options above - Open cmd.exe and type the following (change version as needed)
cd %USER_PROFILE%\AppData\Local\Brave\app-0.19.110
Brave.exe
LEDGER_VERBOSE=true Brave
LEDGER_VERBOSE=true /Applications/Brave.app/Contents/MacOS/Brave
insecurity test
Vertical Side Tabs Tab Suspender