Put a break point on your print string node. On windows, you can press F9
Now test your widget, and when you press a button, the game should pause and the editor should focus on your break point.
If nothing happens, then there is something wrong with the design part of your widget and we will need more info to help