How is the workflow of developing a switching layout(tabbox) for KDE 6 kwin?

I was going to do some enhancement of alt-tab of KDE 6,
but I found it was difficult to get this job done,

there is no easy way to reload and test my modification of the QML file,

simply switch between my customized switch layout and others DO NOT load the changes

I can only restart kwin via kwin_xwayland --replace, but after that my vscode and chrome got crashed, and everything is messed up and got me frustrated.

Anyone knows is there any neat way to do the job?
Any tool or sdk to preview kwin effects?

1 Like