vscDebugger icon indicating copy to clipboard operation
vscDebugger copied to clipboard

Debug Rmd

Open ManuelHentschel opened this issue 3 years ago • 0 comments

Addresses https://github.com/ManuelHentschel/VSCode-R-Debugger/issues/153.

Modifies the debug source function so that it automatically passes a file through knitr::purl if it is rmd. Relies on unmodified line numbers in the output. This seems to work for very "vanilla" rmd files but fails e.g. if the rmd file contains code blocks from other languages. This might be solved by matching parsed lines to actual lines in the source file.

ManuelHentschel avatar Jan 29 '22 21:01 ManuelHentschel