Run

Running via Launch Task from source

To start an instance of the Dendron with debugging capabilities, Run Extension: Local (plugin-core) from the debug panel in vscode

debugger

Note: Running via Run -> Start Debugging will not work unless you've previously targeted Extension: Local (plugin-core)

Note: To have the changes reflected as you edit the code you need to run the ./bootstrap/scripts/watch.sh and restart the Extension: Local (plugin-core))

Running via Launch Task from webpack

  1. Follow steps in Webpack to build the webpack version of the plugin
  2. Open VSCode and use the "Run extension - webpack" task
  • TIP: when iterating on changes, as long as you are only making changes in plugin-core, you can run yarn webpack:dev:watch inside plugin-core to test plugin changes with the VSCode Build

Running Remotely

When developing in VSCode, you can use its remote development to ssh into another machine but keep VSCode as your development frontend.

While installation intsructions are the same, there are some differences when running and testing code which are documented here.

Use the Run Extension:Remote launch task to start the extension.


Backlinks