laike9m / Cyberbrain

Python debugging, redefined.
http://bit.ly/cyberbrain-features
MIT License
2.51k stars 159 forks source link

Can't connect to RPC server #119

Closed jesusdpa1 closed 3 years ago

jesusdpa1 commented 3 years ago

Describe the bug A clear and concise description of what the bug is. Can't connect to RPC server message when running cyberbrain in Pycharm. Is there a way to run cyberbrain in either pycharm or jupyterlab/notebook?

Code to reproduce the bug Please provide a code snippet that can reproduce the bug

from cyberbrain import trace

# As of now, you can only have one @trace decorator in the whole program.
# We may change this in version 2.0, see https://github.com/laike9m/Cyberbrain/discussions/73

@trace  # Disable tracing with `@trace(disabled=True)`
def foo():
    print('hi')

foo()

Screenshots and/or error messages If applicable, add screenshots to help explain your problem.

If you see any error message, please also paste it here.

Environment: Please provide the following information:

laike9m commented 3 years ago

Hi Jesus, you can run your program from PyCharm (or anywhere else), that'll work. But the visulization part relies on VS Code. Check out this issue: https://github.com/laike9m/Cyberbrain/issues/24

jesusdpa1 commented 3 years ago

Thanks!