Code Monkey home page Code Monkey logo

Comments (5)

dmackinn avatar dmackinn commented on June 3, 2024 4

@aslary have you tried using claudia-local-api ?
https://www.npmjs.com/package/claudia-local-api

You can run Claudia locally like an express app during development. Here is an npm script that I use to run mine
"start-local": "nodemon --exec claudia-local-api --api-module api.js --port 2932 | bunyan --output short",

from claudia.

rcoundon avatar rcoundon commented on June 3, 2024

After digging through the docs of Claudia and AWS, I am still not able to setup a local environment, in which I can debug the application. I am using the Claudia API Builder for the REST methods.

Claudia is great for simple deployment, but how can I debug my app locally?

I have seen this: https://claudiajs.com/tutorials/testing-locally.html, but my goal is really to analyse my program line by line with the debugger.

Something else you could consider is Thundra.io - they have tools for allowing you to attach a debugger to a lambda function as it's actually running in AWS.

from claudia.

rcoundon avatar rcoundon commented on June 3, 2024

@dmackinn - have you found a way to attach a debugger to the process being run by claudia-local-api?

from claudia.

dmackinn avatar dmackinn commented on June 3, 2024

@rcoundon For local development using claudia-local-api it runs just like an express server and you can console.log anywhere in the app.

from claudia.

rcoundon avatar rcoundon commented on June 3, 2024

@dmackinn Yeah, I've used it, just haven't managed to attach a live debugger so was wondering if anyone had.

from claudia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.