In aws-sdk there are 4 ways to debug locally against deployed resources.
With the following configuration, you can debug locally against any open file. The requests will be sensitive to the root of the directory from which you make them. It behooves you to setup your environment in the root of the project from which you want to debug.