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

Commit

Permalink
feat(debugging): add logging oxc_resolver tracing info (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen authored Nov 17, 2023
1 parent 1a9910d commit c956216
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/debugging/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ RSPACK_PROFILE=TRACE=layer=logger rspack build
RSPACK_PROFILE='TRACE=layer=logger&filter=rspack_core::compiler::compilation' rspack build # filter for an event
```

### `oxc_resolver`

`oxc_resolver` emits some tracing information for debugging purposes.

```bash
RSPACK_PROFILE='TRACE=filter=oxc_resolver=trace&layer=logger' rspack build
```

## rust-lldb

`rust-lldb` can be used to get panic information from debug builds
Expand Down

0 comments on commit c956216

Please sign in to comment.