Skip to content

Commit 85fd312

Browse files
committed
Update README
1 parent dca2d81 commit 85fd312

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,15 @@ const config = {
106106

107107
An example is shown in the [traceroot.config.js](./traceroot.config.js) file.
108108

109+
110+
### Indicate the Location of the Config File
111+
112+
Sometimes it's quite hard to find the config file in the project root due to webpack or other bundlers. You can set the `TRACEROOT_CONFIG_PATH` environment variable to indicate the location of the config file.
113+
114+
```bash
115+
export TRACEROOT_CONFIG_PATH=/path/to/your/traceroot.config.ts
116+
```
117+
109118
## Usage
110119

111120
Then you can use the `traceroot.traceFunction` to trace your functions:

0 commit comments

Comments
 (0)