question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

locals behaviour different between debug and start without debugging

See original GitHub issue

Environment data

VS Code version: 1.19.2 Python Extension version: 0.9.1 Python Version: 3.6.3 OS and version: Mac OS X 10.13.2

Actual behavior

VS Code debug behaviour different than “start without debugging”

Expected behavior

VS Code should respect development locals configuration when debugging but seems to be operating in different environment.

Steps to reproduce:

Run code with debugging and without debugging and different locals will be used.

Logs

Output from Python output panel

Output from Console window (Help->Developer Tools menu)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
varneyocommented, Jun 16, 2018

Hi yes, I have just updated my visual studio and run it in the new debugger and it has resolved the issue.

0reactions
DonJayamannecommented, Sep 27, 2018

I believe the issue has been resolve with the new debugger. Please install the latest development version of the extension from here to validate it (https://github.com/Microsoft/vscode-python/blob/master/CONTRIBUTING.md#development-build). Please feel free to re-open the issue or comment on it and I’ll open it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The difference between “Start with debugging ... - Dynamsoft
In the “Start with debugging” mode, iHowMany is initialized to 0. But in the “Start without debugging” mode, the value of iHowMany is...
Read more >
Back to Basic : Difference between Start Debugging & Start ...
In this post we are going to talk about yet another very basic, simple topic but seems confusing among many beginners – 'Start...
Read more >
c++ - Different behaviour running from command line to "Run ...
Command-line and startup folder are exactly the same. Any other differences between "start without debugging" and real release mode? – Anteru.
Read more >
Program Runs Slower When Using "Start Without Debuggin"
When I execute the program by "Start without Debugging" the code takes between 2 and 3 times longer. Same dataset. No recompiles.
Read more >
Debugging configurations for Python apps in Visual Studio Code
Details on configuring the Visual Studio Code debugger for different ... the Debug Panel, F5 or Run > Start Debugging when no configuration...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found