Skip to content

Debugging ClearScript with Visual Studio Code #573

@flat-eric147

Description

@flat-eric147

Hi there,
I am currently trying to figure out who to debug and ideally modify my ClearScript code through Visual Studio Code. I am surprised to find that it does not work as good as with chrome inspector. It seems the extension on which ClearScript was tested and documented is now obsolete.
debugextensionobsolete
Instead the "Javascript Debugger" seems to be the new default. The launcher settings "protocol":"inspector" don't seem to work anymore on this.
javsascripdebug

While using this debugger, I am unable to modify code when in break mode, and thus it can't be pushed back to ClearScript. I tried also with a local module which I imported, even when I modify that, changes on that external module are not applied to the running script.

I suspect ClearScrip does not support this new/different debug commands coming from vscode, but I'm not an expert on this unfortunately.

Any input or ideas on this, perhaps I'm just doing it wrong :) Thank you!

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions