clion remote debug pybind11 extension
CLion is able to debug python extensions locally by running a python process as the executable with the below example run configuration but it does not appear to be possible to specify a remote python path from a windows clion instance as the executable in either WSL or Full Remote / SSH modes running on a linux distro. Is there another way of doing this such that you can kick your c++ process from a python script containing pybind11 bindings to hit breakpoints in your windows clion ide running remotely on WSL / SSH / etc?
example setup:
target: cmake_example
executable: /your/python3/binary
program arguments: tests/test.py
working directory: $ROOT
environment variables: PYTHONPATH=$ROOT/cmake-build
请先登录再写评论。