PTVS has this today, they call it `Trace Points` (hence functionality should be available in the new version of PTVSD). Requires upstream changes as well https://github.com/Microsoft/vscode-python/issues/1306