Python support is available as part of the IntelliJ plugin.
Follow these instructions to import your Bazel project.
Running tests / Debugging
Debugging is supported for
py_test targets. Simply create a
run configuration by right-clicking on a Bazel target or test
file/class/function, then run it in debug mode. Detailed instructions