Try to debug the project using the VSCode debugger.
Expected Behavior:
The VSCode debugger should execute the DeepEval package and run the unit tests successfully.
Actual Behavior:
The VSCode debugger throws an error:
C:\Users\myuser\anaconda3\envs\myenv\python.exe: No module named deepeval.__main__; 'deepeval' is a package and cannot be directly executed
Additional Information:
I have ensured that DeepEval is installed in the virtual environment (myenv).
I have verified that the Python interpreter is correctly set to the virtual environment in VSCode.
I have tried upgrading DeepEval to the latest version (0.21.45) using pip.
Question:
How can I configure VSCode to properly execute the DeepEval package within the debugger? Is there something wrong with my launch.json configuration, or is there a better way to set this up?
@TeomanEgeSelcuk thanks for your issue report, it looks that there is an issue with your script, could you manage it to work just in the terminal? could you send me how you execute it?
VS Code Version: 1.89.1 OS Version: 23H2 (Windows 11)
Steps to Reproduce:
Expected Behavior: The VSCode debugger should execute the DeepEval package and run the unit tests successfully.
Actual Behavior: The VSCode debugger throws an error:
Additional Information:
Question: How can I configure VSCode to properly execute the DeepEval package within the debugger? Is there something wrong with my launch.json configuration, or is there a better way to set this up?