bodymovin-extension
bodymovin-extension copied to clipboard
how to debug bodymovin source code?
I encountered the same problem. After installing bodymovin on AE, open the bodymovin plug-in, and you can directly access the plug-in through localhost. However, the plug-in is accessed through The port number configured in the debug file is accessed, and the code is packaged code, and the source code cannot be debugged How can I debug the source code, modify it, and then release it again?
This is what I did to make this work finally: I had node version 12.22.12 installed, not sure if that matters.
- Setup AE for debugging extensions (guide)
- Install the CEF client you'll need for remote debugging
- Install extension dependencies
npm i
and alsonpm audit fix
- Install server dependencies
cd bundle/server && npm i
and alsonpm audit fix
- make sure you have gulp installed
npm install --global gulp-cli
- Inside gulpfile.js change the path to your local path:
var extensionDestination = "../../../tropi/AppData/Roaming/Adobe/CEP/extensions/bodymovin";
- Run
npm run build
(from the main folder, if you are now in the server folder docd ../..
before running it) - Run
npm run start-dev
(from the main folder) - remove bodymovin from AE if you have it installed
- move the build folder over to extensions folder
/Library/Application Support/Adobe/CEP/extensions
and rename the build folder as com.bodymovin.bodymovin - Open the CEF client and navigate to http://localhost:8092
@Bjorninn1 Thanks, This step has been successfully run However, I can't see the source code of JSX. The JSX running is packaged. Under localhost: 8092, there is only bundle.js, although Chrome has prompted source map detected, the source code cannot be displayed, use https://stackoverflow.com/questions/34087143/load-separate-sourcemap-file-in-chrome-dev-tools Neither can I However, you can see the source code in localhost: 3000
port 8092
port 3000