Debugging.
How to Debug SFDMU's Source Code
Debugging the SFDMU plugin involves setting up the local environment with the source code from its GitHub repository.
Setup Instructions
Install the SFDMU Plugin from the cloned source code following these instructions.
Configure VSCode for Debugging:
- Open VSCode and go to "File" => "Preferences" => "Settings".
- Enable "Node Debug" by setting "Auto Attach" to "On".
- Turn "Use Preview Auto Attach" to "Off".
Initiate Debug Session:
- In the source code directory, run the debug command:
./debug.cmd --sourceusername source@mail.com --targetusername target@gmail.com -- other sfdmu flags...
- In the source code directory, run the debug command:
Notes
- For MacOS Users: Adjust the permissions for the
debug.cmd
file withchmod 777 ./debug.cmd
to make it executable.