The file should be at:
C:\Program Files\Unreal Engine\4.1\Engine\Config\ConsoleVariables.ini
You should place the line in a new blank line after the last line in the file. Some thing like this:
;r.ShaderDevelopmentMode=1 r.GraphicsAdapter = -2
Be sure to restart the editor.