Problem whit torizonExtension when debugging pytest code in VScode

Hi @RoccoBr, how are you?

I just got new feedback from our IDE Extensions Team. They investigated the topic and the issue is that when one creates a Torizon project with VSCode there are some Workspace configurations that are made even before executing the launch.json. The extension understands by default that you want to run the code on the device and this is the origin of the issue you presented.

Therefore, the team has thought of two paths for you at the moment:

  1. Keep with the workaround you’re using of disabling the Torizon Extension
  2. Create a second workspace. On one, you’ll have everything to run the code on the module and on the other you can use it to debug on the host machine using Pytest.

Would any of these two options be suitable for you? What do you think about it?