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

Use runInTerminalRequest #6

Closed
roblourens opened this issue Aug 29, 2016 · 6 comments
Closed

Use runInTerminalRequest #6

roblourens opened this issue Aug 29, 2016 · 6 comments

Comments

@roblourens
Copy link
Member

No description provided.

@weinand
Copy link
Contributor

weinand commented Aug 29, 2016

@roblourens runInTerminal can easily be used in the implementation of the launchRequest (instead of copying the implementation of external terminals from node-debug).

@roblourens
Copy link
Member Author

I'm not quite sure what you mean?

@weinand
Copy link
Contributor

weinand commented Aug 29, 2016

@roblourens node-debug's 'launchRequest' supports to run the debug target in an external terminal on all platforms (in addition to running it in the debug console). Currently this feature is implemented in node-debug (terminal.ts).

It is not necessary to implement this 'external terminal support' in the same way in chrome-debug. Instead chrome-debug should use the (reverse) 'runInTerminalRequest' to request similar functionality from VS Code. This is the recommended approach for all debug adapters that need to support an external terminal.

'runInTerminalRequest' is not a normal request that the debug adapter implements, but it is a request that the debug adapter uses. So the title of this issue should better be "Use runInTerminalRequest".

@roblourens roblourens changed the title Support runInTerminalRequest Use runInTerminalRequest Aug 29, 2016
@roblourens
Copy link
Member Author

Oh, I see. The adapter sends a runInTerminalRequest and can set kind = 'integrated' or 'external', and VS Code will manage either one. Gotcha.

@weinand
Copy link
Contributor

weinand commented Aug 29, 2016

@roblourens in the August milestone only 'integrated' is implemented.

@roblourens
Copy link
Member Author

Fixed last week

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants