/usr/local/bin/jupyter-troubleshoot
jupyter-troubleshoot dumps the Jupyter environment to console to help troubleshoot issues.
/Library/Frameworks/Python.framework/Versions/3.10/bin/jupyter-troubleshoot
The binary is a part of Python public framework.