Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can't expose endpoint feathers-debugger #2

@matiaslopezd

Description

@matiaslopezd

Hi, excellent debugger!!

I'm trying to use it but can't 😭, when try refresh directly from extension feathers debugger returns the error:

error: Page not found {"type":"FeathersError","name":"NotFound","code":404,"className":"not-found","data":{"url":"/feathers-debugger?$sort[ts]=1&$limit=500&ts[$gt]=1597784909432&$version=1.2.0"},"errors":{}}

I added to app.js

if (process.env.NODE_ENV === 'debug') app.configure(debuggerService());

And in app.hooks.js

const { trace } = require('feathers-debugger-service');

module.exports = {
  before: {
    all: [trace(), ...]
  },
  after: {
    all: [..., trace()]
  }
}

What I'm doing wrong? I have a custom socket file that is to say I'm not using channels.js, that can affect?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions