Retire mono debug - never worked and seems abandoned, and vscode-python as it is serious legacy now
This commit is contained in:
parent
f389d65a24
commit
bc15c94513
2 changed files with 18 additions and 142 deletions
80
README.md
80
README.md
|
|
@ -68,7 +68,6 @@ For detailed explanatin of the `.vimspector.json` format, see the
|
||||||
* [Python](#python)
|
* [Python](#python)
|
||||||
* [Python Remote Debugging](#python-remote-debugging)
|
* [Python Remote Debugging](#python-remote-debugging)
|
||||||
* [Python Remote launch and attach](#python-remote-launch-and-attach)
|
* [Python Remote launch and attach](#python-remote-launch-and-attach)
|
||||||
* [Legacy: vscode-python](#legacy-vscode-python)
|
|
||||||
* [TCL](#tcl)
|
* [TCL](#tcl)
|
||||||
* [C♯](#c)
|
* [C♯](#c)
|
||||||
* [Go](#go)
|
* [Go](#go)
|
||||||
|
|
@ -145,9 +144,10 @@ runtime dependencies). They are categorised by their level of support:
|
||||||
* `Supported` : Fully supported, frequently used and manually tested
|
* `Supported` : Fully supported, frequently used and manually tested
|
||||||
* `Experimental`: Working, but not frequently used and rarely tested
|
* `Experimental`: Working, but not frequently used and rarely tested
|
||||||
* `Legacy`: No longer supported, please migrate your config
|
* `Legacy`: No longer supported, please migrate your config
|
||||||
|
* `Retired`: No longer included or supported.
|
||||||
|
|
||||||
| Language | Status | Switch (for `install_gadget.py`) | Adapter (for `:VimspectorInstall`) | Dependencies |
|
| Language | Status | Switch (for `install_gadget.py`) | Adapter (for `:VimspectorInstall`) | Dependencies |
|
||||||
|--------------------|--------------|------------------------------------|------------------------------------|--------------------------------------------|
|
|--------------------|-----------|----------------------------------|------------------------------------|--------------------------------------------|
|
||||||
| C, C++, Rust etc. | Tested | `--all` or `--enable-c` (or cpp) | vscode-cpptools | mono-core |
|
| C, C++, Rust etc. | Tested | `--all` or `--enable-c` (or cpp) | vscode-cpptools | mono-core |
|
||||||
| Rust, C, C++, etc. | Supported | `--force-enable-rust` | CodeLLDB | Python 3 |
|
| Rust, C, C++, etc. | Supported | `--force-enable-rust` | CodeLLDB | Python 3 |
|
||||||
| Python | Tested | `--all` or `--enable-python` | debugpy | Python 2.7 or Python 3 |
|
| Python | Tested | `--all` or `--enable-python` | debugpy | Python 2.7 or Python 3 |
|
||||||
|
|
@ -158,10 +158,10 @@ runtime dependencies). They are categorised by their level of support:
|
||||||
| Node.js | Supported | `--force-enable-node` | vscode-node-debug2 | 6 < Node < 12, Npm |
|
| Node.js | Supported | `--force-enable-node` | vscode-node-debug2 | 6 < Node < 12, Npm |
|
||||||
| Javascript | Supported | `--force-enable-chrome` | debugger-for-chrome | Chrome |
|
| Javascript | Supported | `--force-enable-chrome` | debugger-for-chrome | Chrome |
|
||||||
| Java | Supported | `--force-enable-java ` | vscode-java-debug | Compatible LSP plugin (see [later](#java)) |
|
| Java | Supported | `--force-enable-java ` | vscode-java-debug | Compatible LSP plugin (see [later](#java)) |
|
||||||
| C# (dotnet core) | Experimental | `--force-enable-csharp` | netcoredbg | DotNet core |
|
| C# (dotnet core) | Tested | `--force-enable-csharp` | netcoredbg | DotNet core |
|
||||||
| C# (mono) | Experimental | `--force-enable-csharp` | vscode-mono-debug | Mono |
|
| F#, VB, etc. | Supported | `--force-enable-[fsharp,vbnet]` | `, `--force-enable-vbnet` | netcoredbg | DotNet core |
|
||||||
| F#, VB, etc. | Experimental | `--force-enable-fsharp` (or vbnet) | netcoredbg | DotNet core |
|
| C# (mono) | _Retired_ | N/A | N/A | N/A |
|
||||||
| Python.legacy | Legacy | `--force-enable-python.legacy` | vscode-python | Node 10, Python 2.7 or Python 3 |
|
| Python.legacy | _Retired_ | N/A | N/A | N/A |
|
||||||
|
|
||||||
## Other languages
|
## Other languages
|
||||||
|
|
||||||
|
|
@ -526,13 +526,6 @@ Example:
|
||||||
"${gadgetDir}/vscode-cpptools/debugAdapters/OpenDebugAD7"
|
"${gadgetDir}/vscode-cpptools/debugAdapters/OpenDebugAD7"
|
||||||
],
|
],
|
||||||
"name": "cppdbg"
|
"name": "cppdbg"
|
||||||
},
|
|
||||||
"vscode-python": {
|
|
||||||
"command": [
|
|
||||||
"node",
|
|
||||||
"${gadgetDir}/vscode-python/out/client/debugger/debugAdapter/main.js"
|
|
||||||
],
|
|
||||||
"name": "vscode-python"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1264,10 +1257,6 @@ Rust is supported with any gdb/lldb-based debugger. So it works fine with
|
||||||
headers/libs to build a C python extension for performance.
|
headers/libs to build a C python extension for performance.
|
||||||
* Full options: https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings
|
* Full options: https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings
|
||||||
|
|
||||||
|
|
||||||
**Migrating from `vscode-python`**: change `"adapter": "vscode-python"` to
|
|
||||||
`"adapter": "debugpy"`.
|
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"configurations": {
|
"configurations": {
|
||||||
|
|
@ -1334,34 +1323,6 @@ debugpy](https://github.com/microsoft/debugpy/wiki/Debugging-over-SSH).
|
||||||
If you're feeling fancy, checkout the [reference guide][remote-debugging] for
|
If you're feeling fancy, checkout the [reference guide][remote-debugging] for
|
||||||
an example of getting Vimspector to remotely launch and attach.
|
an example of getting Vimspector to remotely launch and attach.
|
||||||
|
|
||||||
### Legacy: vscode-python
|
|
||||||
|
|
||||||
* No longer installed by default - please pass `--force-enable-python.legacy` if
|
|
||||||
you just want to continue using your working setup.
|
|
||||||
* [vscode-python](https://github.com/Microsoft/vscode-python)
|
|
||||||
* NOTE: You must be running `node` 10. See [this issue](https://github.com/puremourning/vimspector/issues/105)
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"configurations": {
|
|
||||||
"<name>: Launch": {
|
|
||||||
"adapter": "vscode-python",
|
|
||||||
"configuration": {
|
|
||||||
"name": "<name>: Launch",
|
|
||||||
"type": "python",
|
|
||||||
"request": "launch",
|
|
||||||
"cwd": "<working directory>",
|
|
||||||
"stopOnEntry": true,
|
|
||||||
"console": "externalTerminal",
|
|
||||||
"debugOptions": [],
|
|
||||||
"program": "<path to main python file>"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
...
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## TCL
|
## TCL
|
||||||
|
|
||||||
* TCL (TclProDebug)
|
* TCL (TclProDebug)
|
||||||
|
|
@ -1385,35 +1346,8 @@ netcoredbg`
|
||||||
"program": "${workspaceRoot}/bin/Debug/netcoreapp2.2/csharp.dll",
|
"program": "${workspaceRoot}/bin/Debug/netcoreapp2.2/csharp.dll",
|
||||||
"args": [],
|
"args": [],
|
||||||
"stopAtEntry": true,
|
"stopAtEntry": true,
|
||||||
"cwd": "${workspaceRoot}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
* C# - mono
|
|
||||||
|
|
||||||
Install with `install_gadget.py --force-enable-csharp` or `:VimspectorInstall
|
|
||||||
vscode-mono-debug`.
|
|
||||||
|
|
||||||
***Known not to work.***
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"configurations": {
|
|
||||||
"launch - mono": {
|
|
||||||
"adapter": "vscode-mono-debug",
|
|
||||||
"configuration": {
|
|
||||||
"request": "launch",
|
|
||||||
"program": "${workspaceRoot}/bin/Debug/netcoreapp2.2/csharp.dll",
|
|
||||||
"args": [],
|
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"runtimeExecutable": "mono",
|
"env": {}
|
||||||
"runtimeArgs": [],
|
|
||||||
"env": [],
|
|
||||||
"externalConsole": false,
|
|
||||||
"console": "integratedTerminal"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -86,29 +86,6 @@ GADGETS = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'vscode-python': {
|
|
||||||
'language': 'python.legacy',
|
|
||||||
'enabled': False,
|
|
||||||
'download': {
|
|
||||||
'url': 'https://github.com/Microsoft/vscode-python/releases/download/'
|
|
||||||
'${version}/${file_name}',
|
|
||||||
},
|
|
||||||
'all': {
|
|
||||||
'version': '2019.11.50794',
|
|
||||||
'file_name': 'ms-python-release.vsix',
|
|
||||||
'checksum':
|
|
||||||
'6a9edf9ecabed14aac424e6007858068204a3638bf3bb4f235bd6035d823acc6',
|
|
||||||
},
|
|
||||||
'adapters': {
|
|
||||||
"vscode-python": {
|
|
||||||
"name": "vscode-python",
|
|
||||||
"command": [
|
|
||||||
"node",
|
|
||||||
"${gadgetDir}/vscode-python/out/client/debugger/debugAdapter/main.js",
|
|
||||||
],
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'debugpy': {
|
'debugpy': {
|
||||||
'language': 'python',
|
'language': 'python',
|
||||||
'download': {
|
'download': {
|
||||||
|
|
@ -269,41 +246,6 @@ GADGETS = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'vscode-mono-debug': {
|
|
||||||
'language': 'csharp',
|
|
||||||
'enabled': False,
|
|
||||||
'download': {
|
|
||||||
'url': 'https://marketplace.visualstudio.com/_apis/public/gallery/'
|
|
||||||
'publishers/ms-vscode/vsextensions/mono-debug/${version}/'
|
|
||||||
'vspackage',
|
|
||||||
'target': 'vscode-mono-debug.vsix.gz',
|
|
||||||
'format': 'zip.gz',
|
|
||||||
},
|
|
||||||
'all': {
|
|
||||||
'file_name': 'vscode-mono-debug.vsix',
|
|
||||||
'version': '0.16.2',
|
|
||||||
'checksum':
|
|
||||||
'121eca297d83daeeb1e6e1d791305d1827998dbd595c330086b3b94d33dba3b9',
|
|
||||||
},
|
|
||||||
'adapters': {
|
|
||||||
'vscode-mono-debug': {
|
|
||||||
"name": "mono-debug",
|
|
||||||
"command": [
|
|
||||||
"mono",
|
|
||||||
"${gadgetDir}/vscode-mono-debug/bin/Release/mono-debug.exe"
|
|
||||||
],
|
|
||||||
"attach": {
|
|
||||||
"pidSelect": "none"
|
|
||||||
},
|
|
||||||
"configuration": {
|
|
||||||
"cwd": "${workspaceRoot}",
|
|
||||||
"console": "integratedTerminal",
|
|
||||||
"args": [],
|
|
||||||
"env": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'vscode-bash-debug': {
|
'vscode-bash-debug': {
|
||||||
'language': 'bash',
|
'language': 'bash',
|
||||||
'download': {
|
'download': {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue