Back to Moon

debug config

website/docs/proto/commands/debug/config.mdx

2.5.01.3 KB
Original Source

import VersionLabel from '@site/src/components/Docs/VersionLabel';

<VersionLabel version="0.25.0" header />

The proto debug config command will list all .prototools configuration files (in TOML format) that have been loaded, in order of precedence, with the final merged configuration printed at the end.

If lockfiles are in use, .protolock files will be rendered alongside their sibling configuration files. <VersionLabel version="0.60.0" />

$ proto debug config

/Users/name/.proto/.prototools ───────────────────────────────────────────

  node = "20.0.0"
  npm = "bundled"

  [tools.node.aliases]
  stable = "~20"

  [settings]
  auto-clean = false

Final configuration ───────────────────────────────────────────────────────

  node = "20.0.0"
  npm = "bundled"

  [tools.node.aliases]
  stable = "~20"

  [plugins.tools]
  node = "https://github.com/moonrepo/node-plugin/releases/download/v0.6.1/node_plugin.wasm"

  [settings]
  auto-clean = false
  auto-install = false
  detect-strategy = "first-available"

  [settings.http]
  allow-invalid-certs = false
  proxies = []

Options

  • --json - Print the list in JSON format.