-
Notifications
You must be signed in to change notification settings - Fork 820
Description
I'd like to be able to contribute to the project. In order to do that efficiently, I'd like to run the Amplify CLI in Visual Studio Code and debug the code by setting breakpoints. How does one do that?
At first, I just forked/cloned to build the project and do a basic run of the project from source. I tried to start with the suggested steps to build the project from the Contributing section of the README. However, these steps fail (see attached errors):
$ npm run setup-dev
yarn config set workspaces-experimental true
Amplify CLI npm run setup-dev errors.txt
I noticed that there is this note in the GraphQL transformer docs: "there are some debug configurations defined in .vscode/launch.json you can use Visual Studio code to add debug breakpoints to debug the code." However, there is no launch.json file as noted.
At a bare minimum, it would be good to be able to build and run the project from source. And ideally, if there were a launch.json file to run in Visual Studio Code, that would be even better. How does the Amplify team debug the project? (It would be tough to imagine one could not debug the code and set breakpoints.)