Link Search Menu Expand Document

Test Workspace

If you want to use a workspace to test changes on the workspace at $REPO_ROOT/test-workspace

Note that this workspace is currently configured to be used with launching a engine server from the command line.

Setup

  1. Launch workspace

    cd $REPO_ROOT
    ./scripts/dev.sh
    
  2. Connect to workspace

    In VSCode, select the Run Extnesion: Local build task (copied below for reference)

        {
          "name": "Run Extension",
          "type": "extensionHost",
          "request": "launch",
          "runtimeExecutable": "${execPath}",
          "args": [
            "--disable-extensions",
            "--extensionDevelopmentPath=${workspaceFolder}"
          ],
          "outFiles": [
            "${workspaceFolder}/out/**/*.js"
          ],
          "env": {
            "STAGE": "dev",
            "VSCODE_DEBUGGING_EXTENSION": "dendron"
          }
        },
    

  3. Run Change Workspace and change into $REPO_ROOT/test-workspace

Cook

Use with regular workspace

Remove the following lines in dendron.yml to launch it without the CLI engine server

dev:
    nextServerUrl: 'http://localhost:3000'
    engineServerPort: 3005