Rob Lourens
cdc8e53cf3
Add DebugSessionOptions suppressSaveBeforeStart
...
See microsoft/vscode-jupyter#6898
2021-09-02 11:05:13 -07:00
Andre Weinand
67b4efe22c
new DebugSessionOption 'lifecycleManagedByParent'; fixes #128058
2021-07-20 17:24:05 +02:00
Rob Lourens
247e62d79a
Add flag for "simple" debug UI ( #128801 )
...
* Implement simple debug UI mode
* Don't show debug viewlet on step
* Move flag to proposed
* Pass around full debugUI options object
* Implement isSimpleUI in mock
2021-07-19 17:49:17 -07:00
Matt Bierner
24a23a8ea0
Mark array params in vscode.d.ts readonly ( #124599 )
...
I recently ran into an issue where I was trying to call showQuickPick with a readonly array. This is currently not allowed, even though `showQuickPick` never mutates the input
This change marks a few places in `vscode.d.ts` where we take arrays as parameters as `readonly []`. It also caught a potential bug with`getSession` modifying the input array
2021-05-25 18:18:47 -07:00
Connor Peet
e657d42281
debug: expose parent session on DebugSessions
...
For https://github.com/microsoft/vscode/issues/123403
2021-05-18 11:56:09 -07:00
Alex Ross
f41b6e6d81
Add active editor to editor tabs and use in variable resolver ( #123450 )
2021-05-11 01:47:28 -07:00
Alex Ross
6a78187837
Remove deprecated sync methods from configuration resolver
...
Part of #108804
2021-04-22 14:41:31 +02:00
Alex Ross
0215117ec6
Make easy adoptions of async configuation resolver service ( #120326 )
...
* Make easy adoptions of async configuation resolver service
Part of #108804
* Also adopt in exthostDebug
* Add another terminal adoption
2021-04-06 11:25:56 +02:00
Benjamin Pasero
1441ba91f0
environment - consistently handle VSCODE_CWD in all our node.js processes
2021-03-15 11:22:42 +01:00
Daniel Imms
9dbc765a38
Add appDirname variable
...
Part of #115053
2021-02-03 07:50:58 -08:00
Johannes Rieken
74937e0a89
Merge pull request #115530 from microsoft/joh/norpc
...
Hide API implementation proxies, add tests to check for "proxy leakage"
2021-02-03 09:17:56 +01:00
Connor Peet
3088c27fbd
debug: mark terminal as free when the associated debug session ends ( #115573 )
2021-02-02 08:27:37 -08:00
Johannes Rieken
3114b1c4c5
hide rpc proxies
2021-02-01 12:01:20 +01:00
Andre Weinand
3f37b664fc
adhere to DAP spec; fixes #114229
2021-01-13 11:03:20 +01:00
Andre Weinand
93a0ad81c3
Merge branch 'master' into launch-multi-root-args
2020-11-18 11:48:37 +01:00
Andre Weinand
876d1f09cc
introduce new variable ${fileWorkspaceFolder}; fixes #84162
2020-11-16 13:09:50 +01:00
isidor
081632d225
debug: remove legacy adapterExecutableCommand
2020-11-06 14:59:00 +01:00
Alex Ross
49ec999d80
Better variable resolve on remote
...
Part of microsoft/vscode-remote-release#2619
2020-09-15 13:30:34 +02:00
Andre Weinand
36969b3cf9
Merge branch 'master' into add-debug-adapter-named-pipe-server
2020-08-19 11:41:18 +02:00
Andre Weinand
5ccf8034de
make return type of getDebugProtocolBreakpoint async
2020-08-18 19:16:08 +02:00
Andre Weinand
c233bf87bc
add API to access DAP breakpoints; see #99716
2020-08-17 12:30:02 +02:00
Andre Weinand
95dcdf2c58
make session arg optional; fixes #103934
2020-08-06 14:01:54 +02:00
Tyler Leonhardt
10a5d09ed5
Add DebugAdapterNamedPipeServer
2020-07-23 15:40:13 -07:00
Andre Weinand
b572b43606
remove not used proposed API; see #101883
2020-07-22 09:44:03 +02:00
Andre Weinand
673e35d278
new proposed API stopDebugging; see #101883
2020-07-09 10:49:22 +02:00
Andre Weinand
e308dd3b36
add DebugSession.terminate; see #101883
2020-07-08 18:29:01 +02:00
isidor
a301dc553b
change noCompress -> compress and make default to not compress sessions in call stack
...
#101429
2020-07-02 11:37:35 +02:00
isidor
8e40c436dd
introduce noCompact flag to DebugSessionOptions
...
#100852
2020-06-25 10:03:16 +02:00
Andre Weinand
f9c6fa3161
properly resolve ${file} variable; fixes #95423
2020-06-15 22:44:51 +02:00
isidor
cc06e19b15
Introduce DebugSessionOptions.noDebug
...
#99743
2020-06-12 17:33:00 +02:00
Borja Zarco
bed300cd4f
Don't fail when resolving config variables without a folderUri.
...
Config variables cannot define a workspace folder, but resolution was using `getFolderUri` and failing when undefined, even though `getConfigurationValue` implementations have logic to handle it. This PR changes the logic to simply forward folderUri to `getConfigurationValue`, which can be undefined.
2020-05-20 23:07:16 -04:00
Andre Weinand
8ec6ec7dc1
rename "Trigger" to "TriggerKind"; see #88230
2020-04-27 16:07:26 +02:00
Andre Weinand
78b071d803
proposed dynamic launch config API: rename 'scope' to 'trigger'
2020-04-26 19:00:47 +02:00
Andre Weinand
1451fab698
add dynamic debug config API
2020-04-20 13:26:20 +02:00
Matt Bierner
0e854e6e46
Remove extra checks for non-nullable functions/properties ( #94631 )
...
TS 3.9 is smarter about catching cases where an if statement is always true. This revealed a few places in our codebase where we were checking to see if a function property exists before calling it, but the property is not nullable
2020-04-13 16:07:29 -07:00
Matt Bierner
1b70625f8c
Use import type when importing vscode under src
...
When the core references `vscode`, we only want to import the types and never generate a real import (which will fail to load). Use `import type` to better enforce this
2020-01-10 14:25:21 -08:00
Andre Weinand
ec211900d8
improved error DA error reporting; fixes #87196
2020-01-08 16:53:36 +01:00
Andre Weinand
dba0076c9f
add API resolveDebugConfigurationWithSubstitutedVariables; see #85206
2019-12-23 16:37:16 +01:00
isidor
85112b01b0
enable strictFunctionTypes in VS Code codebase
2019-12-12 15:14:06 +01:00
Andre Weinand
929c420d8a
rename debug API's onSendMessage to onDidSendMessage
2019-12-12 14:48:38 +01:00
Andre Weinand
665b576260
some tweaks for inline debug adaper API; see #85544
2019-11-30 00:52:33 +01:00
Andre Weinand
870d78d9d8
finalize debug uri API; fixes #79228
2019-11-28 18:12:02 +01:00
Andre Weinand
cf81214e08
extension API for implementing DA in extension; see #85544
2019-11-28 17:55:12 +01:00
Matt Bierner
d4ab1fcda5
Fixes more node 12 typing errors ( #85420 )
...
* Fixes more node 12 typing errors
For #82514
* Remove Symbol.toStringTag usage for now
* Reverting a few fixes that are not comptible with current node typings
* Revert one more use of StringDecoder
Must wait until we actually pick up the new typings
2019-11-25 19:30:21 -08:00
Andre Weinand
b2e2e78c88
make '${file}' equivalent to TextDocument.fileName
2019-11-21 13:26:38 +01:00
Andre Weinand
e38b49b5a3
restructure variable resolver
2019-11-20 17:36:09 +01:00
Andre Weinand
7a89ac693b
Make debugging independent from node APIs; fixes #85076
2019-11-18 23:03:00 +01:00
Andre Weinand
4a61f33994
proposed API for creating debug uri
2019-11-13 18:18:46 +01:00
Dmitry Gozman
e4d4b43f35
Allow debug session to share repl with its parent; fixes #62419
...
Introduced DebugSessionOptions passed to debug.startDebugging which
encapsulated DebugConsoleMode to control this behavior.
2019-09-18 11:45:39 -07:00
Johannes Rieken
dedf0de944
change type of _serviceBrand from any to undefined, #79918
2019-08-30 15:40:46 +02:00