Skip to content

vscode extension debugging #14

@KuDeSnik33ra

Description

@KuDeSnik33ra

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?)

  1. If the extension is already installed from the vscode's market - uninstall it
  2. install nodejs from here https://nodejs.org/en/download/
  3. download the repo and open it in VSCode
  4. in vscode menu "terminal" -> run task -> "npm build"
  5. in vscode menu "run and debug" select "Launch Client"
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions