Skip to content

CFHT/remote-debugging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Demo1

1 Start the docker instance

docker run -dit -p 2222:22 cfht/remote-debugging

2 Use sshfs to mount the code:

mkdir -p ~/mnt
sshfs circleci@localhost:/app/ -p 2222  ~/mnt

3 Then open the tunnel for debugging

ssh -R 1234:localhost:1234 circleci@localhost -p 2222

4 Open up py-charm, and load a new project at ~/mnt/app

5 Create a new configuration, select python remote debug.

6 Set the port to 1234

7 Add the import pydevd and listen lines from the configuration page.

8 Run the configuration

  1. run sudo pip install pydevd

  2. Run demo1.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published