Highlighted

Debugging Adobe IO Actions in VS Code | AEM Community Blog Seeding

kautuk_sahni

Community Manager

06-10-2020

BlogImage.jpg

Debugging Adobe IO Actions in VS Code by AEM Queries & Solutions

Abstract

Todays lets understand how we can debug the Adobe IO actions using VS code and openwhisk.

1. Install wskdebug

npm install -g @adobe/wskdebug
2. Setup the Docker locally. You can download it from https://docs.docker.com/docker-for-windows/install/ and once restart your system after installation.

3. Now we need create the Adobe IO’s image locally to execute out actions. Use below command to create your local image in docker:

wskdebug --inspect-brk=11932   -l


Now lets setup our VS Code to access this image and start our debugging:
1. Open VS Code.
2. Go to debug section on left.
3. Click on create launch.json (Selecting Node.js preview)
4. Now add the below configuration to the created launch .json file.

Read Full Blog

Debugging Adobe IO Actions in VS Code

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager