Skip to main content

Pycharm Remote Debugger

With PyCharm you can debug your application using an interpreter that is located on the other computer, for example, on a web server or dedicated test machine.

Installation

pip install pycharm_remote_debugger

Steps

  1. Create a deployment configuration for a remote interpreter.
    • Ensure that you have SSH access to the remote machine
  2. Deploy your application to a remote host
  3. Create a Python Debug Server run/debug configuration
    • Specify the port number, and the IDE host address
    • Map the path on the local machine to the path on the remote machine
  4. Make sure you are installing pycharm_remote_debugger on the remote machine/container
  5. Run your software using pycharm_remote_debugger module:
    • Create and entry point file that execute your code and login to the debugger.
    from pycharm_remote_debugger import PycharmRemoteDebugger
    
    remote_addr = "10.2.55.1"
    port = 6789
    
    debugger = PycharmRemoteDebugger(remote_addr, int(port))
    debugger.debug()
    
    main()  # run your software here
    
    • Use the command line:
    python -m pycharm_remote_debugger -r 10.2.55.1 -p 6789 -m my_module_name -k module_arg1 -s -k module_arg2
    
  6. Start debugger on pycharm
  7. Debug your program :)

Arguments:

Metadata

Release files for pycharm-remote-debugger 0.1.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycharm-remote-debugger 0.1.18
File Size Uploaded
pycharm_remote_debugger-0.1.18.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycharm-remote-debugger 0.1.18
File Interpreter ABI Platform
pycharm_remote_debugger-0.1.18-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / pycharm_remote_debugger-0.1.18.tar.gz

Download URL pycharm_remote_debugger-0.1.18.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3da1ffe5c8e780c89716ae02b5bfa9441445bd8411848e7b12ca632c4e9a7a84
BLAKE2b-256 checksum
How to use checksums
18445986385ddb9a8b52801d49040e8427341cd2011da3c66e8c0549558d51c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / pycharm_remote_debugger-0.1.18-py3-none-any.whl

Download URL pycharm_remote_debugger-0.1.18-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62a82e7a4cd60c18d707cd7c00f357f3785bc40cd8c09256dd8c75ecfe51bc8a
BLAKE2b-256 checksum
How to use checksums
1d3ee1a0593a6574bf8a7711e48ee53f50c865ba675994498990bbf119f5faeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.18 This release

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page