Skip to content

Commit

Permalink
add note about debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsu committed Feb 11, 2021
1 parent 0248395 commit 2fc0596
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The TRAPI v0.9.2 standard is deprecated. But it can still be tested using https:

## Requirements

For development, you will only need Node.js and a node global package, e.g. npm, installed in your environement.
For development, you will only need Node.js and a node global package, e.g. npm, installed in your environment.

### Node

Expand Down Expand Up @@ -85,6 +85,12 @@ If you need to update `npm`, you can make it using `npm`! Cool right? After runn

`$ npm start`

To enable debug mode, which outputs logging statements to the terminal in real time:

`$ DEBUG=biothings-explorer-trapi:* npm start`

`$ DEBUG=biothings-explorer-trapi:*,smartapi-kg:*,call-apis:*,biomedical-id-resolver:* npm start` (also outputs debug statements from dependencies)

## Simple build for production

`$ npm build`
Expand Down

0 comments on commit 2fc0596

Please sign in to comment.