Closed dkhex closed 9 months ago
Added launch configuration parameter env and passed it to child_process.spawn()
env
child_process.spawn()
Feature was made for SDL_VIDEODRIVER var, e.g.:
"configurations": [ { "type": "factoriomod", "request": "launch", "name": "Factorio Mod Debug", "factorioArgs": ["--load-scenario", "test"], "env": { "SDL_VIDEODRIVER": "wayland,x11" } } ]
This seemed like something you would likely set for all configs, so i also put it in settings for you!
Yea, thanks.
Added launch configuration parameter
env
and passed it tochild_process.spawn()
Feature was made for SDL_VIDEODRIVER var, e.g.: