[REQUIRED] Environment info
firebase-tools: 14.2.2
Platform: Ubuntu (Windows with WSL2)
[REQUIRED] Test case
Any code in a python file in a python Firebase cloud functions codebase
[REQUIRED] Steps to reproduce
- Use VSCode with Python language official extension to open a python Firebase Cloud Functions project.
- Open a python code file.
- Make sure the project venv is selected as the VSCode Python executable (the one used by the Language Server).
- Run the functions emulator
[REQUIRED] Expected behavior
The functions emulator should be able to run without blocking the Python venv execution since it is also used by the VSCode Language Server in order to have intellisense and other features without crashing.
[REQUIRED] Actual behavior
Pylance Language Server crashes when emulator is executed and the code becomes unhighlighted and white, with no help when hovering. This stops when emulator is stopped, since apparently Pylance is restarted automatically.
This does not allow to keep working on the code while the emulator is running, which is a problem.