Scroll to navigation

pydevd(1) pydevd(1)

NAME

pydevd - Script to start pydevd debugger

SYNOPSIS

pydevd --port N [--client hostname | --server] [option ...] --file executable

DESCRIPTION

This script runs the pydevd debugger on top of another Python script, making it ready to be attached to for remote debugging. It is typically used by connecting from an IDE, such PyDev or PyCharm, or called from debugpy, which is the debugging adapter used in Spyder (via IPython), VSCode Python and Visual Studio Python.

OPTIONS

Port to connect (client) or listen (server)
Hostname to connect
Run in server mode
The script to run; this must be the last option
Specifies the PPID to attach to
Either 'python' or 'jython'; the default is 'python'
The access token to access the debug server
The access token to access the client (usually the IDE)
Log debugger socket reads
Reuses connection (used by PyCharm)
Creates new connection (used by PyDev)
Send signature call tracewait
Use threading analyser
Use asyncio analyser
Print debugger startup with pid on stderr
Wait for commands
Set if the file is a module
Do not notify when readline() is called
<mode> is one of 'auto', 'none', 'pyqt5', 'pyqt4', 'pyside' or 'pyside2'
Use debugpy protocol: a single JSON message in each read
Use DAP protocol: JSON messages over HTTP protocol
Use custom protocol with quoted lines
Use custom protocol with HTTP

AUTHOR

pydevd was written by Fabio Zadrozny <fabiofz@gmail.com>.

This manual page was originally written by William Grzybowski <william@grzy.org> for the Debian project (but may be used by others). It was updated by Julian Gilbey <jdg@debian.org>.

12 March 2023 pydevd-2.9.5+ds