I was trying to debug the extension and it was difficult to find how to do it - than I was able to do it, here is my steps:
(Maybe author will add this to the readme file?)
- If the extension is already installed from the vscode's market - uninstall it
- install nodejs from here https://nodejs.org/en/download/
- download the repo and open it in VSCode
- in vscode menu "terminal" -> run task -> "npm build"
- in vscode menu "run and debug" select "Launch Client"
- run, another VSCode window will now opens with "sampleWorkspace" opened, run it (or open another - your's - project, which is using vscode-mobdebug extension)
It is possible to add breakpoints to extension's source files in the first vscode window while using the extension in your project - in the second vscode instance
I was trying to debug the extension and it was difficult to find how to do it - than I was able to do it, here is my steps:
(Maybe author will add this to the readme file?)
It is possible to add breakpoints to extension's source files in the first vscode window while using the extension in your project - in the second vscode instance