close

[Solved] VSCODE: No debug adapter, can not send ‘variables’

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error VSCODE: No debug adapter, can not send ‘variables’ in javascript. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How VSCODE: No debug adapter, can not send ‘variables’ error occurs?

When I ran my code in vs code I am facing the following error in my console.

constructor:function Object() { … }
hasOwnProperty:function hasOwnProperty() { … }
No debug adapter, can not send 'variables'
isPrototypeOf:function isPrototypeOf() { … }
No debug adapter, can not send 'variables'

How To Solve VSCODE: No debug adapter, can not send ‘variables’ Error ?

  1. How To Solve VSCODE: No debug adapter, can not send ‘variables’ Error?

    To Solve VSCODE: No debug adapter, can not send ‘variables’ Error this issue when trying to use the integratedConsole rather than integratedTerminal or externalTerminal as part of my Node configuration within launch.json. Just Setting it back to. “console”: “integratedTerminal”

  2. VSCODE: No debug adapter, can not send ‘variables’

    To Solve VSCODE: No debug adapter, can not send ‘variables’ Error this issue when trying to use the integratedConsole rather than integratedTerminal or externalTerminal as part of my Node configuration within launch.json. Just Setting it back to. “console”: “integratedTerminal”

Solution 1

this issue when trying to use the integratedConsole rather than integratedTerminal or externalTerminal as part of my Node configuration within launch.json. Just Setting it back to.

"console": "integratedTerminal"

Solution 2

You can try the below code in your launch.json

"outputCapture": "std"

Solution 3

The reason this happens is that the debugger stops after the code execution ends. Then there is no more debug adapter available to send the variables. What I did is add an extra line on the bottom of the code execution, and set a breakpoint on that. It isn’t pretty, but it works.

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also Read

Leave a Comment