Skip to main content
edited tags
Link
Rich
  • 33.2k
  • 4
  • 81
  • 143
Source Link

Environment variables on vimspector

I'm using vimspector for debugging python, with debugpy. However, I need to source some environment variables before debugging in order for everything to work. How can I set up these env variables before debugging?

In VS code, I used to start the debug. The debug would break, but I could go into the debug terminal, source the env vars, and then it would work.