add snippets for python inplace debug