We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e708b8 commit 3283e45Copy full SHA for 3283e45
docs/init.md
@@ -46,4 +46,13 @@ This command would create a `package.json` file for a package called
46
`@test/js-hello-world`. For more information about scoping, you can refer to
47
the npm documentation [here][npm-scope-documentation].
48
49
+## Debug
50
+
51
+The init command accepts an optional `--debug` argument. This will build the
52
+output package using cargo's
53
+[default non-release profile][cargo-profile-sections-documentation]. Building
54
+this way is faster but applies few optimizations to the output, and enables
55
+debug assertions and other runtime correctness checks.
56
57
[npm-scope-documentation]: https://docs.npmjs.com/misc/scope
58
+[cargo-profile-sections-documentation]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-profile-sections
0 commit comments