Add a note about verbose output for RN packager

This commit is contained in:
Martin Konicek 2015-10-01 19:46:09 +01:00
parent b0145a8803
commit 06daab650f
1 changed files with 8 additions and 0 deletions

View File

@ -124,6 +124,14 @@ Given an entry point module. Recursively collect all the dependent
modules and return it as an array. `options` is the same options that modules and return it as an array. `options` is the same options that
is passed to `ReactPackager.middleware` is passed to `ReactPackager.middleware`
## Debugging
To get verbose output when running the packager, define an environment variable:
export DEBUG=ReactNativePackager
The `/debug` endpoint discussed above is also useful.
## FAQ ## FAQ
### Can I use this in my own non-React Native project? ### Can I use this in my own non-React Native project?