reloadware / reloadium

Hot Reloading and Profiling for Python
https://reloadium.io
Apache License 2.0
2.74k stars 56 forks source link

Issue with Reloadium in PyCharm+WSL #187

Open ByteMelodist opened 3 months ago

ByteMelodist commented 3 months ago

Describe the bug

When attempting to use the remote debugging feature in PyCharm 2023.3.5 on Windows 11, targeting a Python environment under Anaconda in WSL, an error occurs with Reloadium. The error message displayed is java.lang.NoSuchMethodException: java.lang.ProcessImpl.addRemoteTunnel(int,java.lang.String,int).

To Reproduce

Steps to reproduce the behavior:

  1. Set up remote debugging in PyCharm 2023.3.5 on a Windows 11 system.
  2. Target a Python environment within Anaconda installed on WSL.
  3. Start remote debugging with Reloadium.
  4. Observe the error message: java.lang.NoSuchMethodException: java.lang.ProcessImpl.addRemoteTunnel(int,java.lang.String,int).

Expected behavior

I expected to be able to remotely debug my Python code in the WSL environment using Reloadium without encountering any exceptions.

Desktop or remote (please complete the following information):

dkrystki commented 3 months ago

@ByteMelodist What is your PyCharm version?

ByteMelodist commented 3 months ago

@ByteMelodist What is your PyCharm version?

2023.3.5

mhammad94 commented 1 month ago

Iam also encountering the same issue.