Why Might One Get Different Behavior in the VSCode Extension vs the Terminal?

Are the number of threads the same for both? How to change the number of threads?