In add-on debugger, give access to require function to load sdk module

NEW
Unassigned

Status

DevTools
Debugger
4 years ago
a month ago

People

(Reporter: David Bruant, Unassigned)

Tracking

(Blocks: 1 bug)

36 Branch
x86
Linux

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
I'm trying to inspect what's in the simple-storage.
I tried to require('sdk/simple-storage') both in the addon debugger console and scratchpad, but in both cases, I get an error thrown "require is not defined".

Updated

a month ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.