Commit graph

27 commits

Author SHA1 Message Date
Ben Jackson
82db32780b Add example of ssh to remote host 2021-03-04 13:28:04 +00:00
Ben Jackson
1f20115960 Update docs bundle to stfu security warnings 2021-01-09 12:15:55 +00:00
Ben Jackson
4206d0e57c Use 127.0.0.1 rather than localhost to avoid issues with ipv6, and long timeout connecting the socket 2021-01-08 15:54:49 +00:00
Ben Jackson
0942aa4523 Fix docker example for python
The example was was using 'launchCommand' which is not valid according
to the schema; it should be 'runCommand'.

But also, it never really worked. Vimspector would start the "adapter"
(in this case, try and connect to the TCP port) before running the
"prepare" commands, wich in this case would actually start debugpy
listening. So to solve that we run the prepare commands earlier.
Hopefully this won't cause a regression for Java and C++ remote attach,
which we don't really have tests for.

Finally, due to the way docker works, when you forward a port and
nothing is listening on it, docker _accepts_ the connection then
immediately drops it. This is _super_ annoying meaning that it looks to
vimspector liek the server instantly dies if it takes nonzero time for
the remote commands to open the port. So to solve this we add loaunch
and attach delays which can be configured in the adapter config. This
actually solves a prolem where the java debugger just takes agest to
attach on remote launch too.

(Finally, finally...) updated the vimspector schema to represent
the real launch/attach remote configuration, which was incorrectly
spec'd at the adapter level, but it's actually per launch/attach block.
2020-12-22 15:45:26 +00:00
Ben Jackson
2bdb30a45e update docs 2020-11-14 12:34:15 +00:00
tamago324
9de4d07955 Fix schema url 2020-08-23 12:02:06 +09:00
Ben Jackson
51bbadc4f5 Update website dependencies 2020-08-15 16:39:32 +01:00
Ben Jackson
57f1c128c5 update doc for coercing types 2020-08-13 17:30:31 +01:00
Ben Jackson
aa26d4bc1a Add ability to specify defaults for variables 2020-07-31 22:19:10 +01:00
Ben Jackson
82ec19fff9 Update tocs 2020-07-16 08:33:49 +01:00
Ben Jackson
9df680089b Allow default configuraiton to be specified; document selection 2020-07-16 08:33:49 +01:00
Ben Jackson
a4abe511c7 Update contents links 2020-07-09 18:29:41 +01:00
Ben Jackson
fe8d7251a4 Add unusedLocalPort to docs 2020-07-09 18:07:58 +01:00
dependabot[bot]
f2994dfad7
Bump activesupport from 6.0.2.1 to 6.0.3.1 in /docs
Bumps [activesupport](https://github.com/rails/rails) from 6.0.2.1 to 6.0.3.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v6.0.3.1/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v6.0.2.1...v6.0.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-05-26 18:05:00 +00:00
Aaron Walker
3d113eaec4 comments 2020-05-21 23:43:37 -04:00
Aaron Walker
0bf511debc add docker docs 2020-05-21 23:43:37 -04:00
Aaron Walker
c9b1456759 add docker exec as an attach command 2020-05-21 23:43:37 -04:00
Ben Jackson
c6d6c7f876 Support "multi-session" mode properly
Document remote debugging and add a test
2020-05-17 14:07:56 +01:00
Ben Jackson
d42fd51f35 Support c-style comments in JSON
Debate rages about whether JSON should have comments. The specification
says it shouldn't but the author of JSON suggested that if you want to
use JSON for configuration, then pipe it through jsmin before parsing.

So that's what we do, using a tiny JSON minifier from
https://github.com/getify/JSON.minify/tree/python

Closes #135
2020-03-21 15:16:07 +00:00
Ben Jackson
ec36099f97 Document: splat, central config dirs 2020-03-14 09:26:49 +00:00
Ben Jackson
db95fe0c1d Update github pages to fix website, maybe 2020-02-02 18:27:01 +00:00
Ben Jackson
23b3bb719b Document exception breakpints 2020-01-28 08:52:23 +00:00
Ben Jackson
7d046574cb Add tests for toggling breakpoint and inserting line 2019-12-14 18:03:34 +00:00
Ben Jackson
bed68aa691 Fix up the site 2019-11-06 15:53:03 +00:00
Ben Jackson
ccc966f985 Fix formatting errors 2019-11-06 12:14:43 +00:00
Ben Jackson
6791b4bb58
Rename CONFIGURATION.md to configuration.md 2019-11-06 12:13:51 +00:00
Ben Jackson
7297e12605 Add schema definition for the config 2019-11-06 11:44:23 +00:00