How to debug jupyter hub source code in pycharm?

How to debug jupyter hub source code in pycharm?

I haven’t used PyCharm debugging, but the function to launch JupyterHub is jupyterhub.app.main(), if that’s what you want to put in your debugger. You can pass it command-line arguments with e.g.

from jupyterhub.app import main
main(['--debug', '-f', 'jupyterhub_config.py'])

If that’s not what you need, I think we’d need more information about what you are trying to do.

1 Like