Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
deploy: c956216
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Nov 17, 2023
1 parent fd72958 commit 2e5ab79
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions debugging/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ <h2 id="tracing"><a class="header" href="#tracing">Tracing</a></h2>
<pre><code class="language-bash">RSPACK_PROFILE=TRACE=layer=logger rspack build
RSPACK_PROFILE='TRACE=layer=logger&amp;filter=rspack_core::compiler::compilation' rspack build # filter for an event
</code></pre>
<h3 id="oxc_resolver"><a class="header" href="#oxc_resolver"><code>oxc_resolver</code></a></h3>
<p><code>oxc_resolver</code> emits some tracing information for debugging purposes.</p>
<pre><code class="language-bash">RSPACK_PROFILE='TRACE=filter=oxc_resolver=trace&amp;layer=logger' rspack build
</code></pre>
<h2 id="rust-lldb"><a class="header" href="#rust-lldb">rust-lldb</a></h2>
<p><code>rust-lldb</code> can be used to get panic information from debug builds</p>
<pre><code class="language-bash">rust-lldb -- node /path/to/rspack build
Expand Down
4 changes: 4 additions & 0 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,10 @@ <h2 id="tracing"><a class="header" href="#tracing">Tracing</a></h2>
<pre><code class="language-bash">RSPACK_PROFILE=TRACE=layer=logger rspack build
RSPACK_PROFILE='TRACE=layer=logger&amp;filter=rspack_core::compiler::compilation' rspack build # filter for an event
</code></pre>
<h3 id="oxc_resolver"><a class="header" href="#oxc_resolver"><code>oxc_resolver</code></a></h3>
<p><code>oxc_resolver</code> emits some tracing information for debugging purposes.</p>
<pre><code class="language-bash">RSPACK_PROFILE='TRACE=filter=oxc_resolver=trace&amp;layer=logger' rspack build
</code></pre>
<h2 id="rust-lldb"><a class="header" href="#rust-lldb">rust-lldb</a></h2>
<p><code>rust-lldb</code> can be used to get panic information from debug builds</p>
<pre><code class="language-bash">rust-lldb -- node /path/to/rspack build
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 2e5ab79

Please sign in to comment.