There are various different ways of carrying out electrolysis. You could set it up like this, or use a Hoffman voltameter, or a microscope electrolysis set-up like this one. You should be able to ...