I've searched but I've not until now been able to find the title of a movie I saw in the 80's. The title sounds like "Outlaw" or "Out-something". It was a story that occurs in a base on a planet, a mining industry. There were drug problems... I remember that (in the intro), on of the effect of this (bad) drug leads an astronaut to open his suit (with lethal consequence) because he believed it was full of insects or something like take.
The mining takes place on Jupiter's moon of IO. However (spoilers):
the workers use drugs to help them work for days at a time. The drugs cause people to suffer from delirium tremens which makes them go outside without their suits, so that they die of decompression.