The EdgeWorkers panel will be automatically added to the left side of the VSCode window.
The EdgeWorkers Toolkit for VSCode depends on the Akamai CLI, minimum version 1.3.0 with EdgeWorkers command minimum version 1.4.1. Many of our customers will already have this set up, but if not on first launch of the EdgeWorkers panel they will be prompted to install and set up OPEN API credentials in .edgerc as outlined in the developer docs. Usage from here assumes you have completed this step.
Additional configuration is available in the VSCode preferences; most customers will not need to use this but if they use multiple .edgerc sections or a custom edgerc path they will, and Akamai internal users will likely need to fill in Account Key here:
Functionality Walkthrough
List EdgeWorker details in the left side panel:
See EdgeWorker versions and version file contents by clicking through the tree:
Download an EdgeWorker by clicking the download button to the right of the version number. The download is automatically extracted for easy viewing of contents:
Activating an EdgeWorker can be done by clicking the leftmost / “Activate EdgeWorker” icon in the EdgeWorkers pane toolbar; this will bring up the Activation UI:
Registering a new EdgeWorker can by done by clicking on the R / “Register EdgeWorker” icon in the EdgeWorkers pane toolbar
A new version for an existing EdgeWorker can by added via the + button next to an EdgeWorker:
Or by right-clicking on an EdgeWorker tarball/bundle in the VS Code file explorer:
As shown above the same tarball can also be uploaded to the EdgeWorkers Sandbox for testing.
New EdgeWorker tarballs can be created + validated from source code by right-clicking on an EdgeWorker tarball.json in VS Code file explorer:
Code profiling is available by bringing up the bottom panel or terminal window. More info on profiling code with the EdgeWorkers Toolkit for VSCode, check out Akamai Techdocs page on the EdgeWorkers Code Profiler.