Alexey Prokhorov
Alexey Prokhorov

Reputation: 3921

How to check what's wrong with visual studio code debugger

I've spent a lot of time trying to find a reason why vscode debugger (vscode-chrome-debug module) doesn't work as expected. I didn't find any way how to enable logging in vscode.

Upvotes: 0

Views: 74

Answers (1)

Alexey Prokhorov
Alexey Prokhorov

Reputation: 3921

The solution is pretty easy, thanks to Andreas. You don't need to search additional vscode environment variables or config parameters. Just enable the diagnosticLogging option in your launch.json. It enables logs writing of vscode-chrome-debug module to ~/.vscode/extensions/msjsdiag.debugger-for-chrome/vscode-chrome-debug.txt

Upvotes: 1

Related Questions