Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-50039

[UDF][JS Function Libraries] It would help to have some sort of interactive debugger

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 7.1.0
    • js-evaluator
    • None
    • 7.1.0
    • 1

    Description

      Basically when we upload complex javascript, it is hard to debug exactly what is going wrong. It would be nice if we had some way of inserting stop points and looking at various points of the function execution. Related to MB-49998 where we noticed console.log is being ignored, logging statements would be good as well. Maybe something like PDB where we could stop the function execution at a specific point and walk through the execution as we see fit, so we can see exactly where and why the library function cannot be uploaded. Having something like this would greatly help usability in conjunction with the new UDF UI tab

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            santosh.hegde Santosh Hegde
            ajay.bhullar Ajay Bhullar
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty