VSCode automatically uses Revise.jl.
I wish it was unnecessary.
I think most people get around this limitation by working in the Main REPL module and only typing/executing full function calls defined in their package (Method 1 in this link), but that method doesn’t work very well if you need to test individual lines of your package code (rather than entire functions). Changing your REPL module is the only way I have found to do that.
I’m happy to be proven wrong and shown something simpler, but I’ve been asking about this for a long time, and no one has given me a good answer: