pydevd debugger plugin for OmegaConf
Project description
OmegaConf pydevd Plugin
omegaconf-pydevd provides the optional pydevd plugin for OmegaConf objects.
This debugger integration is packaged separately from the main omegaconf
distribution so that the global pydevd_plugins namespace is only installed on
systems that explicitly opt into it.
Installation
pip install omegaconf-pydevd
Debugger Demo
Use examples/debug_demo.py to inspect OmegaConf
objects in the debugger with omegaconf-pydevd installed.
Set a breakpoint on print(cfg) and inspect:
cfgcfg.greetingcfg.subprojectscfg.project
With omegaconf-pydevd installed:
- missing fields render as debugger values instead of surfacing a debugger-time exception while inspecting them
- interpolations are shown more clearly, including their resolved values
Example Rendering
Resolver Mode
Use the OC_PYDEVD_RESOLVER environment variable to select which resolver to
install:
USER: default behavior, useful when debugging OmegaConf objectsDEV: useful when debugging OmegaConf itself and inspecting its internal data modelDISABLE: disable the OmegaConf resolver
Example:
OC_PYDEVD_RESOLVER=DEV python your_program.py
Development
From this repository root:
cd subprojects/omegaconf-pydevd
pip install -r ../../requirements/dev.txt -e .
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omegaconf_pydevd-2.4.0.dev10.tar.gz.
File metadata
- Download URL: omegaconf_pydevd-2.4.0.dev10.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
feac2752fc1d3748e0ab5adda8f7b49d69b80dd32a528fd0026ffec881872917
|
|
| MD5 |
fb392bf981d30caf4a7c22c6bb2fba27
|
|
| BLAKE2b-256 |
40287ce6f8aba55160b34835c1cc5f41634cdbd6ee15f8def0e7163ac277c35b
|
Provenance
The following attestation bundles were made for omegaconf_pydevd-2.4.0.dev10.tar.gz:
Publisher:
publish_dev.yml on omry/omegaconf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omegaconf_pydevd-2.4.0.dev10.tar.gz -
Subject digest:
feac2752fc1d3748e0ab5adda8f7b49d69b80dd32a528fd0026ffec881872917 - Sigstore transparency entry: 1361454044
- Sigstore integration time:
-
Permalink:
omry/omegaconf@fad93242ac56049fdf4c5ee2d2b63d451254e043 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/omry
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_dev.yml@fad93242ac56049fdf4c5ee2d2b63d451254e043 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file omegaconf_pydevd-2.4.0.dev10-py3-none-any.whl.
File metadata
- Download URL: omegaconf_pydevd-2.4.0.dev10-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2883ff398c43e534b6f5f419a88c915a1a00061687e167219430f02874d5565
|
|
| MD5 |
8e591cfe9f3f94cb6c0731d5bab2974f
|
|
| BLAKE2b-256 |
8c92c9d1a3200be442d4528d88accf708958e4c4c90822368b14daec9f34ef15
|
Provenance
The following attestation bundles were made for omegaconf_pydevd-2.4.0.dev10-py3-none-any.whl:
Publisher:
publish_dev.yml on omry/omegaconf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omegaconf_pydevd-2.4.0.dev10-py3-none-any.whl -
Subject digest:
a2883ff398c43e534b6f5f419a88c915a1a00061687e167219430f02874d5565 - Sigstore transparency entry: 1361454048
- Sigstore integration time:
-
Permalink:
omry/omegaconf@fad93242ac56049fdf4c5ee2d2b63d451254e043 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/omry
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_dev.yml@fad93242ac56049fdf4c5ee2d2b63d451254e043 -
Trigger Event:
workflow_dispatch
-
Statement type: