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.

Attaching terminal to pod displaying debugging information

See original GitHub issue

Extension Version

v0.0.8

VSCode Version

Version: 1.55.2 (system setup) Commit: 3c4e3df9e89829dce27b7b5c24508306b151f30d Date: 2021-04-13T09:35:57.887Z Electron: 11.3.0 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Windows_NT x64 10.0.19042

Repro

Navigate to pod: CLUSTERS / Workloads / Deployments / my-k8s-deployment / my-k8s-pod Right Click / Terminal

Following is rendered to the VS Code terminal

I0425 13:15:55.788294   12372 log.go:181] (0xc000664000) (0xc0008441e0) Create stream
I0425 13:15:55.788294   12372 log.go:181] (0xc000664000) (0xc0008441e0) Stream added, broadcasting: 1
I0425 13:15:55.862173   12372 log.go:181] (0xc000664000) Reply frame received for 1
I0425 13:15:55.862173   12372 log.go:181] (0xc000664000) (0xc000522000) Create stream
I0425 13:15:55.862173   12372 log.go:181] (0xc000664000) (0xc000522000) Stream added, broadcasting: 3
I0425 13:15:55.967954   12372 log.go:181] (0xc000664000) Reply frame received for 3
I0425 13:15:55.967954   12372 log.go:181] (0xc000664000) (0xc0007b8000) Create stream
I0425 13:15:55.967954   12372 log.go:181] (0xc000664000) (0xc0007b8000) Stream added, broadcasting: 5
I0425 13:15:56.035884   12372 log.go:181] (0xc000664000) Reply frame received for 5
I0425 13:15:56.035884   12372 log.go:181] (0xc000664000) (0xc0005220a0) Create stream
I0425 13:15:56.035884   12372 log.go:181] (0xc000664000) (0xc0005220a0) Stream added, broadcasting: 7
I0425 13:15:56.131866   12372 log.go:181] (0xc000664000) Reply frame received for 7
I0425 13:15:56.131866   12372 log.go:181] (0xc000664000) Data frame received for 5
I0425 13:15:56.131866   12372 log.go:181] (0xc0007b8000) (5) Data frame handling  
I0425 13:15:56.131866   12372 log.go:181] (0xc0005220a0) (7) Writing data frame   
I0425 13:15:56.165688   12372 log.go:181] (0xc000664000) Data frame received for 5
I0425 13:15:56.165688   12372 log.go:181] (0xc0007b8000) (5) Data frame handling
I0425 13:15:56.165688   12372 log.go:181] (0xc0007b8000) (5) Data frame sent
/app # I0425 13:15:56.165688   12372 log.go:181] (0xc000522000) (3) Writing data frame
I0425 13:15:56.167688   12372 log.go:181] (0xc000664000) Data frame received for 5
I0425 13:15:56.167688   12372 log.go:181] (0xc0007b8000) (5) Data frame handling
I0425 13:15:56.167688   12372 log.go:181] (0xc0007b8000) (5) Data frame sent
/app #

Every character I type will display 4 lines of logging make the terminal unusable

I have uninstalled/restarted/installed - same behaviour

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
fernandodeveloncommented, Dec 1, 2021
alefragnani.Bookmarks
austenc.tailwind-docs
bee.git-temporal-vscode
bradlc.vscode-tailwindcss
capaj.vscode-standardjs-snippets
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
Chukwuamaka.csvtojson-converter
cschleiden.vscode-github-actions
dbaeumer.vscode-eslint
dinhani.copy-on-select
dnicolson.binary-plist
donjayamanne.githistory
eamodio.gitlens
ecmel.vscode-html-css
eriklynd.json-tools
esbenp.prettier-vscode
formulahendry.code-runner
gencer.html-slim-scss-css-class-completion
Gruntfuggly.todo-tree
hilleer.yaml-plus-json
Hridoy.adonisjs-snippets
humao.rest-client
incleaf.vuetypes-snippets
ineptian.simple-placeholder-images
JakeWilson.vscode-placeholder-images
janisdd.vscode-edit-csv
jcbuisson.vue
jock.svg
JonaNeumeier.date-to-format
jsynowiec.vscode-insertdatestring
khaeransori.json2csv
lihui.vs-color-picker
marclipovsky.string-manipulation
mechatroner.rainbow-csv
Meezilla.json
mhutchie.git-graph
mikestead.dotenv
mishannn.vuex-suggest
mitchdenny.ecdc
mohsen1.prettify-json
mongodb.mongodb-vscode
mrmlnc.vscode-duplicate
ms-azuretools.vscode-docker
MS-CEINTL.vscode-language-pack-it
ms-kubernetes-tools.vscode-kubernetes-tools
ms-vscode-remote.remote-containers
ms-vscode.sublime-keybindings
ms-vsliveshare.vsliveshare
msjsdiag.debugger-for-chrome
nidu.copy-json-path
octref.vetur
oysun.vuehelper
pavittarx.moleculer-snippets
raidou.calc
redhat.vscode-yaml
rid9.datetime
sdras.vue-vscode-snippets
Shelex.vscode-cy-helper
sibiraj-s.vscode-scss-formatter
standard.vscode-standard
stef-k.adonis-js-goto-controller
streetsidesoftware.code-spell-checker
streetsidesoftware.code-spell-checker-italian
TheHolyCoder.swagger-tools
titiaiev.vue-docs
tomphilbin.lodash-snippets
Tyriar.lorem-ipsum
vikash-ck-dev.vscode-convert
vincaslt.highlight-matching-tag
wix.vscode-import-cost
wxt2005.date-preview
xk0der.vsc-postman-collection-syntax
ZaferAYAN.lorem-picsum
ZainChen.json
1reaction
montgomerybccommented, Nov 30, 2021

FWIW, these are mine:

PS> code --list-extensions alefragnani.Bookmarks batisteo.vscode-django bierner.markdown-mermaid donjayamanne.python-environment-manager donjayamanne.python-extension-pack eamodio.gitlens hediet.vscode-drawio KevinRose.vsc-python-indent lonefy.vscode-JS-CSS-HTML-formatter magicstack.MagicPython ms-azuretools.vscode-docker ms-dotnettools.csharp ms-kubernetes-tools.vscode-kubernetes-tools ms-python.python ms-python.vscode-pylance ms-toolsai.jupyter ms-toolsai.jupyter-keymap ms-toolsai.jupyter-renderers ms-vscode-remote.remote-wsl ms-vscode.powershell njpwerner.autodocstring PrateekMahendrakar.prettyxml qcz.text-power-tools redhat.vscode-yaml sleistner.vscode-fileutils VisualStudioExptTeam.vscodeintellicode VisualStudioOnlineApplicationInsights.application-insights wholroyd.jinja yzhang.markdown-all-in-one

On Tue, 30 Nov 2021 at 14:49, Luca Stocchi @.***> wrote:

@fernandodevelon https://github.com/fernandodevelon could you share the list of extensions you have installed in vscode?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Azure/vscode-kubernetes-tools/issues/941#issuecomment-983088621, or unsubscribe https://github.com/notifications/unsubscribe-auth/AELT7VH75YAYMWYKQVTXRKLUOVIH3ANCNFSM44GBXJ7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debug Running Pods | Kubernetes
This page explains how to debug Pods running (or crashing) on a Node. Before you begin Your Pod should already be scheduled and...
Read more >
How the oc debug command works in OpenShift - Red Hat
Once the pod is launched, you can open a second terminal window and run oc get pods and find the corresponding pod named...
Read more >
How to debug Node.js applications in Kubernetes? - Medium
There are two ways how to enable debug mode in Node.js, using --inspect flag and sending SIGUSR1 signal to the process. You can...
Read more >
Attach to a running container - Visual Studio Code
Once attached, you can install extensions, edit, and debug like you can when ... VS Code (or sub-processes like terminals) but not the...
Read more >
5 Simple Tips for Troubleshooting Your Kubernetes Pods
Once you start working with Kubernetes, and you deployed some applications to a cluster, you may have encountered issues where 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