Skip to content
Advertisement

Tag: visual-studio-code

VSCode not using test database for Django tests

I’ve got an issue where VSCode’s test feature uses the production database instead of creating a test database. tests.py I have previously created 1 instance of SomeModel, so if you do SomeModel.objects.all() in the shell, it returns a queryset with that one instance. If I run this test from vscode’s tester it will fail. And when I debug it, I

How does the VS Code Python “justMyCode” debugger feature determine which code belongs to the user?

Visual Studio Code offers a debugger launch option called justMyCode which allows – if set to false – to step-into non-user written code when debugging. The documentation says: When omitted or set to true (the default), restricts debugging to user-written code only. Set to false to also enable debugging of standard library functions. But this doesn’t seem to include only

R not attached in VS Code on Win10

I am recently switching from RStudio to VS Code. I have installed R extension in VS Code, but when I open VS Code and R terminal, R cannot be loaded. I followed coip’s method but still cannot get R loaded: ############################################################################## I followed coip’s suggstion and R is successfully activated. In another of my laptop (Win), R could be activated

Advertisement