I'm having problems with CluaConsole in BG2: EE

Following online instructions I open my baldur.lua file and add the following line:
SetPrivateProfileString('Program Options','Debug Mode','1')
I then save and close the program, and open the game. But when I hit Ctrl+Space the game just freezes and shuts down.
What am I doing wrong here?
EDIT: I am playing in Steam, if that makes a difference.
SetPrivateProfileString('Program Options','Debug Mode','1')
I then save and close the program, and open the game. But when I hit Ctrl+Space the game just freezes and shuts down.
What am I doing wrong here?
EDIT: I am playing in Steam, if that makes a difference.
0
Comments
'Program Options', 'Debug Mode', '1',
keep all those gaps/commas/quotations and see if that helps