Replies: 3 comments 6 replies
-
Setting |
Beta Was this translation helpful? Give feedback.
2 replies
-
So, no one has an answer to this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm not entirely sure how exactly VSCode matches terminals to profiles, but if it does so by terminal title, you could try setting |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've seen this post, but I don't know how this could help me. What I want to do is to start the debugger within a Rosetta terminal. What I currently do, is start the script in debug mode till it fails and then I type
arch -x86_64 zsh
to enter Rosetta2 emulation. Then I restart the debugger and then it works. How can I tell debugpy to immediately start with a Rosetta2 emulation?I have added this to my
settings.json
:and I can use this as a normal terminal. But how do I select this for debugpy?
For debugpy within VSCode I switch to the
Run and debug
view an create alaunch.json
as shown below:Then I hit the start debugging button as shown in this screenshot:
https://code.visualstudio.com/assets/docs/python/debugging/debug-start-button.png
After that a debug terminal opens and fails since it is running on
arm64
. If I manually switch this terminal tox86_64
and hit the run and debug button again, it works.Beta Was this translation helpful? Give feedback.
All reactions