Instructions in the link are for vB 3, for vB 4 they should read:
Assuming you have copied the attachments to a directory on the new server, add this to config.php to enter into debug mode:

...