79287990

Date: 2024-12-17 13:12:04
Score: 3.5
Natty:
Report link

Now i'm able to debug locally and remotly a python file (including arguments). Now i would like to add an additional difficulty by loading specific variables environements: "module load", "export path & ld_library", "source env" for instance.

Except if i'm wrong, i guess i need to define a local .env file in which all previous variables are declared: is it correct? i've also added an additional argument in the launch.json file using:

"envFile": "${workspaceFolder}/.env"

Is it the right way? (nontheless it does not work for me, so i'm looking where i've made a mistake or if i've mussed something)

Any feedback is highly appreciated

Paul

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): it does not work for me
  • Blacklisted phrase (0.5): i need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: paul18fr