Answer the question
In order to leave comments, you need to log in
How to run debug in a container?
here is my config
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"outFiles": [
"${workspaceFolder}/**/*.js"
],
"cwd": "${workspaceFolder}...",
"runtimeExecutable": "npm",
"runtimeArgs": ["run-script", "debug"],
"port": 9229
}
]
@docker run --rm=true -it -p 9229:9229 -v "$(ROOT_DIR)":/home/ct $(DOCKER_IMAGE_NAME):$(CT_TAG) bash
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question