Skip to content
Sources for the debugger used in PyDev, PyCharm and VSCode Python
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
_pydev_bundle
_pydev_imps
_pydev_runfiles Provide json as the output of messages from pydevd -- initial proof o… Dec 13, 2018
_pydevd_bundle
_pydevd_frame_eval
build_tools
gradle/wrapper Add gradle wrapper Feb 4, 2016
jython_test_deps
pydev_ipython Merge from PyCharm. Apr 13, 2018
pydev_sitecustomize Fix issue where a library checked if breakpoint() was in the builtins… Aug 23, 2018
pydevd_attach_to_process Do not attempt to convert `--host` argument to int Nov 25, 2018
pydevd_concurrency_analyser Support scopes, stackTrace, setVariable, evaluate, setExpression and … Feb 19, 2019
pydevd_plugins
stubs
test_pydevd_reload
tests
tests_mainloop
tests_python Hex values for keys (ptvsd:#1174), json step requests (ptvsd:1212). Mar 15, 2019
tests_runfiles CI support and fixes for Jython, Python 3.7, pytest with xdist Jul 26, 2018
third_party Stop ugly sys reimporting (reloading sys has unintended consequences). Aug 19, 2017
.gitignore
.project Adding things only in pydev. Jul 17, 2014
.pydevproject
.travis.yml Test 2.6 without cython. Nov 29, 2018
.travis_install_jython_deps.sh
.travis_install_python_deps.sh
LICENSE
MANIFEST.in
README.rst
appveyor.yml
conftest.py Properly deal with handled/unhandled exceptions on top-level frames o… Sep 20, 2018
gradlew
gradlew.bat Add gradle wrapper Feb 4, 2016
interpreterInfo.py
pycompletionserver.py Fix for case when python-future is installed and provides a dummy 'bu… Sep 5, 2017
pydev_app_engine_debug_startup.py Adding Python sources from PyDev. Jul 17, 2014
pydev_coverage.py More robust creation of the coverage.xml Aug 15, 2018
pydev_pysrc.py Adding more files which are only in PyDev. Jul 17, 2014
pydev_run_in_console.py
pydevconsole.py
pydevd.py
pydevd_file_utils.py Fix issue in path mapping. ptvsd:1203 Mar 15, 2019
pydevd_tracing.py
pytest.ini
runfiles.py
setup.py Add debug adapter package to setup.py Feb 5, 2019
setup_cython.py

README.rst

PyDev.Debugger

The sources for the PyDev.Debugger (used in PyDev & PyCharm) may be seen at:

https://github.com/fabioz/PyDev.Debugger

In general, the debugger backend should NOT be installed separately if you're using an IDE which already bundles it (such as PyDev or PyCharm).

It is however available in PyPi so that it can be installed for doing remote debugging with pip -- so, when debugging a process which runs in another machine, it's possible to pip install pydevd and in the code use pydevd.settrace(host='10.1.1.1') to connect the debugger backend to the debugger UI running in the IDE (whereas previously the sources had to be manually copied from the IDE installation).

It should be compatible with Python 2.6 onwards (as well as Jython 2.7, IronPython and PyPy -- and any other variant which properly supports the Python structure for debuggers -- i.e.: sys.settrace/threading.settrace).

Recent versions contain speedup modules using Cython, which are generated with a few changes in the regular files to cythonize the files. To update and compile the cython sources (and generate some other auto-generated files), build_tools/build.py should be run -- note that the resulting .pyx and .c files should be commited.

To generate a distribution with the precompiled binaries for the IDE, build_binaries_windows.py should be run ( note that the environments must be pre-created as specified in that file).

To generate a distribution to upload to PyPi, python setup.py sdist bdist_wheel should be run for each python version which should have a wheel and afterwards twine upload -s dist/pydevd-* should be run to actually upload the contents to PyPi.

Travis (Linux CI):

travis

Appveyor (Windows CI):

appveyor

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.