python import wdb wdb.set_trace(host='0.0.0.0', port=1984) def func(): x = 10 y = 5 z = x + y wdb.set_trace() func()