-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for vscDebugger #22
Comments
thanks for opening this issue. i will try to get to it this week. |
what is the expected result? if i add |
It depends on the context, I guess. In interactive
which is expected, I guess. The same is true in plain
because we are not using By contrast, when debugging, in VS Code using https://github.com/ManuelHentschel/VSCode-R-Debugger,
the output is (correctly)
|
Was coming here to post that we need VSCode support :) whereami::whereami() is empty when run from VSCode. |
Note: on modern version of the R VSCode extension, there are wrappers around |
not sure why you are using
|
what is the usecase of |
Because
That is good to know - it wasn't clear from the reference manual.
I am not working interactively, unfortunarely.
True, but not completely, as shown above in my first example above.
This is only an example to simulate what happens when the return value is captured in a variable. I usually do something like |
whereami::thisfile()
returnsNULL
when debugging code using https://github.com/ManuelHentschel/vscDebugger.I see a couple of options:
Relax the check at
whereami/R/thisfile.R
Line 72 in 64ee46b
Include this check:
The text was updated successfully, but these errors were encountered: