Import modules/custom objects?
Closed this issue · 2 comments
Shoti2313 commented
Is it possible to import modules, custom objects that can be accessed in the evaluate function?
Siubaak commented
Do you mean using import
in vDebugger.evaluate
? No, because vDebugger.evaluate
is used for running expressions instead of statements. If you want to access your custom objects, I think the only way is to mount them at the global this like window
, and access from global.
Or, if you mean using import
in vDebugger.debug
, that's possible. There are two ways.