Allow more simple local debugging

**work in progress**
see commits