pydevd - Script to start pydevd debugger
Contents
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.
Name
pydevd - Script to start pydevd debugger
Options
--portN
Port to connect (client) or listen (server)
--clienthostname
Hostname to connect
--server
Run in server mode
--fileexecutable
The script to run; this must be the last option--ppidPPID
Specifies the PPID to attach to
--vm_typeTYPE
Either 'python' or 'jython'; the default is 'python'
--access-tokenTOKEN
The access token to access the debug server
--client-access-tokenTOKEN
The access token to access the client (usually the IDE)
--DEBUG_RECORD_SOCKET_READS
Log debugger socket reads
--multiproc
Reuses connection (used by PyCharm)
--multiprocess
Creates new connection (used by PyDev)
--save-signatures
Send signature call tracewait
--save-threading
Use threading analyser
--save-asyncio
Use asyncio analyser
--print-in-debugger-startup
Print debugger startup with pid on stderr
--cmd-line
Wait for commands
--module
Set if the file is a module
--skip-notify-stdin
Do not notify when readline() is called
--qt-support=<mode>
<mode> is one of 'auto', 'none', 'pyqt5', 'pyqt4', 'pyside' or 'pyside2'
--json-dap
Use debugpy protocol: a single JSON message in each read
--json-dap-http
Use DAP protocol: JSON messages over HTTP protocol
--protocol-quoted-line
Use custom protocol with quoted lines
--protocol-http
Use custom protocol with HTTP
Synopsis
pydevd--portN [--clienthostname | --server] [option ...] --fileexecutable
