Are there any tools available to make tracing errors in org-mode blocks easier? (I'm working with python specifically)
My current workflow is to copy code that works to a source block, and try to make only minimal modifications. If major errors occur, I either copy it back to another file, or tangle the block and debug the resulting file.
Are there any tools I'm missing? (eg, something like compilation mode where it would take you to the line the error is on.)
Edit: for example, I just found C-c C-v v, which brings up a buffer with noweb references expanded. Unfortunately, it doesn't include header arguments, so the code from this can't be run without importing those in the interpreter first. Similarly, if I have a return statement, that keeps it from being executed, and the buffer isn't editable, so takes several steps to get runnable source from a python block.