Debug only works after chip erase in ST-LINK utility
Yes, the workarea in ram is used to program the flash.
But the bigger it is and the longer the flash programming is and the STM32L0 are long to program (compares to other STM32F) so there were some errors on swd communication.
As i said, It has been corrected.
And even in the meantime, the L0 cfg has a reduced workarea size of 2K (0x800). So, not even 4K (0x1000).
So, if it is still not working now using SW4STM32 v2.2.0, let us know.
Rgds,
Laurent