Script Debugger can show space characters in text. They are shown as small dots. To show space characters:
You must first be showing invisible characters. Then:
Choose View > Show Spaces.
Or, choose Show Spaces from the contextual menu.
If the menu item is checked (and invisibles are showing), spaces are showing.