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.

F5 Shifts Focus to Integrated Console

See original GitHub issue

System Details

  • Operating system name and version: Windows 10 1607
  • VS Code version: 1.17.1
  • PowerShell extension version: 1.4.3
Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:

code -v:
1.17.1
1e9d36539b0ae51ac09b9d4673ebea4e447e5353

$pseditor.EditorServicesVersion :
Major  Minor  Build  Revision
-----  -----  -----  --------
1      4      1      0

code --list-extensions --show-versions
arcticicestudio.nord-visual-studio-code@0.6.0
emmanuelbeziat.vscode-great-icons@2.1.16
ms-vscode.PowerShell@1.4.3
msazurermtools.azurerm-vscode-tools@0.3.7
zhuangtongfa.Material-theme@2.10.17

$PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.1.14393.1770
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.1770
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

This is a pretty minor but very annoying issue. When I press F5 to start debugging the focus seems to shift to the integrated console which seems to capture all key presses so if the script is stopped on a breakpoint I have to click into the code window to be able to step through the code. As I said very minor but really annoying issue.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rkeithhillcommented, Feb 16, 2018

FWIW this used to bug me too because the console ate F10/F11 so stepping stopped working for me until I put the focus back in editor. That issue is now fixed in VSCode 1.20. The terminal now passes the common debug F keys through to the debugger.

1reaction
ajansveldcommented, Oct 25, 2017

F8 also does this, but have you tried putting this in your user settings? Works for me! "powershell.integratedConsole.focusConsoleOnExecute": false

Read more comments on GitHub >

github_iconTop Results From Across the Web

Distributed Cloud Console: Single Pane of Glass Monitoring l F5
Distributed Cloud Console is the centralized console where all platform services are configured and monitored. It features a customizable dashboard that ...
Read more >
State of Application Strategy 2022: Performance Trends
Performance matters, and not just for gaming. Our analysis of responses to the State of Application Strategy 2022 found performance impacting ...
Read more >
F5 Distributed Cloud Multi-Cloud Transit - F5 Networks
F5 Multi-Cloud Transit is a single, SaaS-based platform and operational model enabling seamless and secure connectivity across multiple clouds.
Read more >
Integrate security policies into your CI/CD pipeline - F5 Networks
Avoid releasing unprotected applications into market for the sake of speed by integrating network and security policies into the CI/CD pipeline.
Read more >
F5's BIG-IP and IBM Cloud Private Integration - F5 Networks
The application landscape has witnessed a dramatic shift in the past year or so. While the majority of applications that reside in the...
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