Skip to content

Commit f409666

Browse files
authored
Add debug section to contributing guide. (#2310)
1 parent 1a2521a commit f409666

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,13 @@ At a minimum, each package needs:
146146
6. An `.npmignore` file
147147
7. A `README.md` file that gives a brief description of the intent of the package
148148

149+
## Debugging
150+
151+
For debugging purposes you can use the following knobs:
152+
153+
1. Most of `npx ampx` commands take `--debug` parameter. It enables verbose console output.
154+
2. We are using `execa` for spawning child processes. You can set `export NODE_DEBUG=execa` to reveal exact command lines.
155+
149156
## Licensing
150157

151158
See the [LICENSE](LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.

0 commit comments

Comments
 (0)