Subscriptions work if you use AWS lambda graphql, I haven't tried with that code, but I've used it outside of SST. Well worth reading the docs on it, and they have an demo in their GitHub repo. I don't think it works with live lambda debugging in SST from memory.