Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

require is not defined #322

@tapion

Description

@tapion

Screen Shot 2020-09-08 at 10 01 29 PM

Steps to reproduce

Tell us about your environment:

  • ndb version: 6.14.5
  • Platform / OS version: MacOS Catalina 10.15.5
  • Node.js version: 13.1.0

What steps will reproduce the problem?

  1. I put a breakpoint in my code to show variables
  2. When I edit my code within the chromium window, the system doesn't reload the script, it says that "require is not defined".

What is the expected result?
I expect that the script reloads with my changes
When I run the debugging process I don't see that all my code is wrapped by the global function in node, like in this example from internet
Screen Shot 2020-09-08 at 10 06 17 PM

All code that I'm debugging is without that function, maybe this is the problem, but I don't know how to fix it.

What happens instead?
The system doesn't reload the changes then I must close the debugging windows and restart it

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