You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/lib/ansible_test/_internal
Jordan Borean 3882366585
Add AnsiballZ debugging support with debugpy (#85476)
* Add AnsiballZ debugging support with debugpy

Adds support for debugging AnsiballZ modules with debugpy which is used
by VSCode as its Python debugger DAP. Debugging can either be done
through a manual Debugpy listening server through a launch.json
configuration or through the new ansible-test --dev-debug-on-deman
argument.

* Fix up integration test

* Simplify config option and move mypy ignore

* Use new API if available and fix typo

* Guard the import of debugpy

* Fix sanity import issue

* Minor cosmetic adjustments

* Simplify debugger setup

* ansible-test - Refactor debugging interface

* Add ansible-test debug integration tests

* Fix ansible-test shell when in unsupported dir

---------

Co-authored-by: Matt Clay <matt@mystile.com>
5 months ago
..
ci ansible-test - Code style cleanup (#84749) 9 months ago
classification ansible-test - Fix relative import resolution (#85328) 6 months ago
cli ansible-test - Add remote debugging support (#85317) 6 months ago
commands Add AnsiballZ debugging support with debugpy (#85476) 5 months ago
compat ansible-test - Code style cleanup (#84749) 9 months ago
dev ansible-test - Code style cleanup (#84749) 9 months ago
provider ansible-test - Code style cleanup (#84749) 9 months ago
__init__.py ansible-test - Add remote debugging support (#85317) 6 months ago
ansible_util.py ansible-test - Add remote debugging support (#85317) 6 months ago
become.py ansible-test - Code style cleanup (#84749) 9 months ago
bootstrap.py ansible-test - Code style cleanup (#84749) 9 months ago
cache.py ansible-test - Code style cleanup (#84749) 9 months ago
cgroup.py ansible-test - Code style cleanup (#84749) 9 months ago
completion.py ansible-test - Code style cleanup (#84749) 9 months ago
config.py ansible-test - Add remote debugging support (#85317) 6 months ago
connections.py ansible-test - Code style cleanup (#84749) 9 months ago
constants.py ansible-test - Code style cleanup (#84749) 9 months ago
containers.py ansible-test - Code style cleanup (#84749) 9 months ago
content_config.py ansible-test - Code style cleanup (#84749) 9 months ago
core_ci.py ansible-test - Code style cleanup (#84749) 9 months ago
coverage_util.py ansible-test - Upgrade coverage to 7.9.1 (#85411) 5 months ago
data.py ansible-test - Code style cleanup (#84749) 9 months ago
debugging.py Add AnsiballZ debugging support with debugpy (#85476) 5 months ago
delegation.py ansible-test - Add remote debugging support (#85317) 6 months ago
diff.py ansible-test - Code style cleanup (#84749) 9 months ago
docker_util.py ansible-test - Use `-t` for container stop timeout (#85019) 7 months ago
encoding.py ansible-test - Code style cleanup (#84749) 9 months ago
executor.py ansible-test - Code style cleanup (#84749) 9 months ago
git.py ansible-test - Code style cleanup (#84749) 9 months ago
host_configs.py ansible-test - Code style cleanup (#84749) 9 months ago
host_profiles.py Add AnsiballZ debugging support with debugpy (#85476) 5 months ago
http.py ansible-test - Code style cleanup (#84749) 9 months ago
init.py ansible-test - Code style cleanup (#84749) 9 months ago
inventory.py ansible-test - Add remote debugging support (#85317) 6 months ago
io.py ansible-test - Code style cleanup (#84749) 9 months ago
junit_xml.py ansible-test - split controller/target testing (#75605) 4 years ago
locale_util.py ansible-test - Improve code formatting (#79983) 3 years ago
metadata.py Add AnsiballZ debugging support with debugpy (#85476) 5 months ago
payload.py ansible-test - Code style cleanup (#84749) 9 months ago
processes.py ansible-test - Add remote debugging support (#85317) 6 months ago
provisioning.py ansible-test - Code cleanup (#85297) 6 months ago
pypi_proxy.py ansible-test - Code style cleanup (#84749) 9 months ago
python_requirements.py Add AnsiballZ debugging support with debugpy (#85476) 5 months ago
ssh.py ansible-test - Code cleanup (#85297) 6 months ago
target.py feature-flag experimental module metadata (#85351) 6 months ago
test.py ansible-test - Code style cleanup (#84749) 9 months ago
thread.py ansible-test - Code cleanup (#85297) 6 months ago
timeout.py ansible-test - Code cleanup (#85297) 6 months ago
util.py ansible-test - Code cleanup (#85297) 6 months ago
util_common.py ansible-test - Add remote debugging support (#85317) 6 months ago
venv.py ansible-test - Code style cleanup (#84749) 9 months ago