WebTechKitchen; Your Web Technology Kitchen, contact us to create, or maintain your websites and other digital properties.

drush migrate (mim) watermarks

Submitted by barnettech on Fri, 09/29/2023 - 14:38

The high watermark can be set via Drush before running the migration in order to get a different timespan of updates.

For example, to get all updates since 9/1/2023:

drush mshw publication 20230901
drush mim publication --update
Clearing the high watermark will pull all records:

drush mshw publication
drush mim publication --update

A working .lando.yml file that allows enabling of xdebug, and also a launch.json and php.ini (if using WSL2)

Submitted by barnettech on Sat, 09/09/2023 - 18:01

This blog post also helped me get my xdebug working with a mac, lando, and vscode https://thehigglers.com/blogs/how-to-configure-xdebug-with-lando-for-dr…
I think the main thing was to install the official php debug extension in vscode. My settings that are currently working 1/2/2024 are below. FYI also in the debugger pane in vscode, you have to click the green arrow to start listening for connections.