Python Support
Python support is available as part of the IntelliJ plugin.
Project Setup
-
Follow these instructions to import your Bazel project.
-
Add
python
to your .bazelproject file’sadditional_languages
section:additional_languages: python
Running tests / Debugging
Debugging is supported for py_binary
and 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
[here][run-configurations].