Closed
Description
-
Create a wrapper function that wraps scripts in a
setTimeout()
to enable having enough time to select and launch a VSCode debugger when running the script in a container -
A sample VSCode launch configuration for Docker is:
{ "version": "0.2.0", "configurations": [ { "type": "node", "request": "attach", "name": "Attach to Docker", "address": "localhost", "port": 9229, "restart": true, "skipFiles": ["<node_internals>/**"], "localRoot": "${workspaceFolder}", "remoteRoot": "/opt/app" } ] }
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Done