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

Support for low-level agent access #13

Merged
merged 1 commit into from
Nov 10, 2016
Merged

Support for low-level agent access #13

merged 1 commit into from
Nov 10, 2016

Conversation

jkrems
Copy link
Collaborator

@jkrems jkrems 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});'

@jkrems
Copy link
Collaborator Author

jkrems commented Nov 10, 2016

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

@jkrems jkrems merged commit 257b65f into master Nov 10, 2016
@jkrems jkrems deleted the jk-low-level branch November 10, 2016 21:50
@jkrems jkrems restored the jk-low-level branch November 10, 2016 21:54
@jkrems jkrems 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