enable_attach should spawn adapter (#1784)

* Spawn adapter in enable attach.

* Addressing comments and simplifying

* Minor tweaks
This commit is contained in:
Karthik Nadig 2019-09-19 10:51:21 -07:00 committed by GitHub
parent 0825dbeb37
commit 636400a24a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 122 additions and 45 deletions

4
.vscode/launch.json vendored
View file

@ -5,13 +5,13 @@
"version": "0.2.0",
"configurations": [
{
"name": "ptvsd.adapter --debug-server",
"name": "ptvsd.adapter --port",
"type": "python",
"request": "launch",
"console": "integratedTerminal",
"consoleTitle": "ptvsd.adapter",
"program": "${workspaceFolder}/src/ptvsd/adapter",
"args": ["--debug-server", "8765", "--cls"],
"args": ["--port", "8765", "--cls"],
"customDebugger": true,
},