Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Support for low-level agent access#13

Merged
hybrist merged 1 commit into
masterfrom
jk-low-level
Nov 10, 2016
Merged

Support for low-level agent access#13
hybrist merged 1 commit into
masterfrom
jk-low-level

Conversation

@hybrist
Copy link
Copy Markdown
Collaborator

@hybrist hybrist commented Nov 10, 2016

This allows user to directly access the protocol by exposing the agent proxies inside of the repl context. Because of the existing promise magic, things like the following "just work":

> ./cli.js examples/empty.js
# ...
debug> Debugger.getScriptSource({ scriptId: '64' })
{ scriptSource: '(function (exports, require, module, __filename, __dirname) { \n});' }
debug> _.scriptSource
'(function (exports, require, module, __filename, __dirname) { \n});'

@hybrist
Copy link
Copy Markdown
Collaborator Author

hybrist commented Nov 10, 2016

/cc @joshgav I think you brought this up as a useful feature in the meeting yesterday.

@hybrist hybrist merged commit 257b65f into master Nov 10, 2016
@hybrist hybrist deleted the jk-low-level branch November 10, 2016 21:50
@hybrist hybrist restored the jk-low-level branch November 10, 2016 21:54
@hybrist hybrist deleted the jk-low-level branch November 10, 2016 21:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant