forked from extern/nushell
Make debug info lazy (#10728)
<!-- if this PR closes one or more issues, you can automatically link the PR with them by using one of the [*linking keywords*](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword), e.g. - this PR should close #xxxx - fixes #xxxx you can also mention related issues, PRs or discussions! --> # Description <!-- Thank you for improving Nushell. Please, check our [contributing guide](../CONTRIBUTING.md) and talk to the core team before making major changes. Description of your pull request goes here. **Provide examples and/or screenshots** if your changes affect the user experience. --> * Makes the `debug info` lazy which greatly improves performance. * Adds a `thread id` attribute   # User-Facing Changes <!-- List of all changes that impact the user experience here. This helps us keep track of breaking changes. --> `threadid` column added. --------- Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
This commit is contained in:
7
crates/nu-command/tests/commands/debug_info.rs
Normal file
7
crates/nu-command/tests/commands/debug_info.rs
Normal file
@ -0,0 +1,7 @@
|
||||
use nu_test_support::nu;
|
||||
|
||||
#[test]
|
||||
fn runs_successfully() {
|
||||
let actual = nu!("debug info");
|
||||
assert_eq!(actual.err, "");
|
||||
}
|
Reference in New Issue
Block a user