Home Explore Blog CI



nushell

1st chunk of `commands/docs/debug_info.md`
d165cb83953059c1f16602a66a7662f9e92057bc1b31eb8400000001000002d9
---
title: debug info
categories: |
  debug
version: 0.104.0
debug: |
  View process memory info.
usage: |
  View process memory info.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->

# `debug info` for [debug](/commands/categories/debug.md)

<div class='command-title'>View process memory info.</div>

## Signature

```> debug info {flags} ```


## Input/output types:

| input   | output |
| ------- | ------ |
| nothing | record |
## Examples

View process information
```nu
> debug info

```

## Notes
This command is meant for debugging purposes.
It shows you the process information and system memory information.

Title: debug info: View Process Memory Information
Summary
The `debug info` command, part of the debug category, provides insights into the process's memory usage and system-wide memory status for debugging. It allows developers and advanced users to inspect the memory landscape of the Nu shell environment. By invoking `debug info`, the command retrieves and presents detailed information about the process, which includes memory allocation, usage statistics, and other relevant metrics. Additionally, it gathers system memory information, offering a comprehensive overview of available and utilized memory resources on the system. The output is structured as a record, enabling easy parsing and analysis of the gathered data. This facilitates identifying potential memory leaks, performance bottlenecks, or other memory-related issues within the Nu shell or its extensions. The command takes no input and produces a record as output, making it a self-contained tool for memory inspection.