Run
Running via Launch Task from source
- Prerequisites: Clone and install dependencies for the plugin as described in Dendron Plugin Quickstart
To start an instance of the Dendron with debugging capabilities, Run Extension: Local (plugin-core)
from the debug panel in vscode
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
- Follow steps in Webpack to build the webpack version of the plugin
- 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 runyarn webpack:dev:watch
insideplugin-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