Python Support
Python support is available as part of the IntelliJ plugin.
Project Setup
-
Follow these instructions to import your Bazel project.
-
Add
pythonto your .bazelproject file’sadditional_languagessection: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].