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 ⇧

  1. Install the SFDMU Plugin from the cloned source code following these instructions.

  2. 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".
  3. 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 .
      
Notes: ⇧
  • For macOS Users: If required, make the runner executable with chmod +x ./sfdmu-run-debug.cmd.

Related Articles ⇧

Last updated on 25th Feb 2026