You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In debug console we have below error thrown by sts-vscode:
rejected promise not handled within 1 second: Error: No child process found for parent shell process with pid = -1
stack trace: Error: No child process found for parent shell process with pid = -1
at c:\Users\<username>\.vscode-insiders\extensions\pivotal.vscode-spring-boot-1.36.0\out\lib\debug-config-provider.js:123:19
at Generator.next (<anonymous>)
at fulfilled (c:\Users\<username>\.vscode-insiders\extensions\pivotal.vscode-spring-boot-1.36.0\out\lib\debug-config-provider.js:28:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Currently the workaround is either of the following options:
Manually connect to the process.
Use "integratedTerminal" to launch the app.
Since java-debugger extension has already provided processId, it would be better to cover this case.
The text was updated successfully, but these errors were encountered:
{
shellProcessId: number /* The process ID of the terminal shell if the process is running in a terminal shell. */
processId: number /* The process ID. */
}
And AFAIK java-debugger extension now calculates processId on its own, covering various kind of terminals like cygwin/mingw, WSL, etc. It would probably be fixed by renaming pid to processId in L91?
When a spring app is launched with
"console": "internalConsole"
, live process is not auto connected.In such case, I observe below details:
Java debugger reported correct
processId
:In debug console we have below error thrown by sts-vscode:
Currently the workaround is either of the following options:
Since java-debugger extension has already provided
processId
, it would be better to cover this case.The text was updated successfully, but these errors were encountered: