Easily debug your remote project
Project description
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.
Steps
- Create a deployment configuration for a remote interpreter.
- Ensure that you have SSH access to the remote machine
- Deploy your application to a remote host
- 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
- Make sure you are installing pycharm_remote_debugger on the remote machine/container
- 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 = 1324
debugger = PycharmRemoteDebugger(remote_addr, int(port))
debugger.wait_for_debugger()
main() # run your software here
- Start debugger on pycharm
- Debug your program :)
Note: Soon there will be a cli tool for executing any python program (development in progress)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pycharm_remote_debugger-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64baf365c08d43dd931421d5603a4706b057b4d44942ab6d1207755bfcec6be6 |
|
MD5 | 5ea0e747a83f43f9beb67221b0303169 |
|
BLAKE2b-256 | 5b28aa749670eec2406e02816e64d061bc0a2ddbb863f11f8782dedc37775328 |
Close
Hashes for pycharm_remote_debugger-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76794586932f9dce600cbfdf3173d4113fac574e3a9272171ab7c29480007f47 |
|
MD5 | 3888fd16d981284caf3d042c40ccd4fc |
|
BLAKE2b-256 | 85bc5ed2bf3599e290e67396eceae293a0b548466444aeec2626b2028ca76593 |