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:
./sfdmu-run-debug.cmd --sourceusername source@mail.com --targetusername target@mail.com --path .
- In the source code directory, run the debug command:
Notes: ⇧
- For macOS Users: If required, make the runner executable with
chmod +x ./sfdmu-run-debug.cmd.