Improve argumentsSlice and debug