File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
packages/core/src/lambda/vue/remoteInvoke Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 5454 id =" attachDebugger"
5555 v-model =" debugState.remoteDebuggingEnabled"
5656 @change =" debugPreCheck"
57- :disabled =" !initialData.runtimeSupportsRemoteDebug || !initialData.remoteDebugLayer"
57+ :disabled ="
58+ !initialData.runtimeSupportsRemoteDebug ||
59+ !initialData.remoteDebugLayer ||
60+ !initialData.LambdaFunctionNode?.configuration.SnapStart
61+ "
5862 class =" remote-debug-checkbox"
5963 />
6064 <div class =" setting-description" >
61- <info-wrap v-if =" initialData.runtimeSupportsRemoteDebug && initialData.remoteDebugLayer" >
65+ <info-wrap
66+ v-if ="
67+ initialData.runtimeSupportsRemoteDebug &&
68+ initialData.remoteDebugLayer &&
69+ initialData.LambdaFunctionNode?.configuration.SnapStart
70+ "
71+ >
6272 Remote debugging is not recommended for production environments. The AWS Toolkit modifies
6373 your function by deploying it with an additional layer to enable remote debugging. Your
6474 local code breakpoints are then used to step through the remote function invocation.
8393 <info v-else-if =" !initialData.remoteDebugLayer" style =" color : var (--vscode-errorForeground )" >
8494 Region {{ initialData.FunctionRegion }} doesn't support remote debugging yet
8595 </info >
96+ <info
97+ v-else-if =" !initialData.LambdaFunctionNode?.configuration.SnapStart"
98+ style =" color : var (--vscode-errorForeground )"
99+ >
100+ Doesn't support remote debugging yet
101+ </info >
86102 </div >
87103 </div >
88104 </div >
You can’t perform that action at this time.
0 commit comments