-werners-
Esteemed Contributor III

you could try to separate the environments f.e. using containers/vm's. 
Probably there are other ways too, but these immediately came to mind.