Debugger doesn't stop with docker compse

Hi,

I have a project where the python interpreter is in a docker compose. I have configured the interpreter using docker-compose. From serveral days I can't debug. The debugger doesn't stop at breakpoints.

 

I have Pycharm 2020. Professional.

I have tried to uninstall, delete cache and settings folders, but the problem continue. 

 

The docker.log show:

 

2020-07-15 15:14:18,057 [ 0] ERROR - i.async.ResultCallbackTemplate - Error during callback
com.github.dockerjava.api.exception.NotFoundException: {"message":"get pycharm_skeletons_1174139164: no such volume"}

at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:97)
at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:32)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:241)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965)
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799)
at io.netty.channel.epoll.EpollDomainSocketChannel$EpollDomainUnsafe.epollInReady(EpollDomainSocketChannel.java:138)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:433)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:330)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
 
 
 
And idea.log:
 
2020-07-15 15:15:35,534 [ 163154] ERROR - debugger.pydev.AbstractCommand - No connection (command: 501 )
java.lang.Throwable: No connection (command: 501 )
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:146)
at com.jetbrains.python.debugger.pydev.AbstractCommand.execute(AbstractCommand.java:154)
at com.jetbrains.python.debugger.pydev.RemoteDebugger.handshake(RemoteDebugger.java:131)
at com.jetbrains.python.debugger.pydev.transport.ClientModeDebuggerTransport.waitForConnect(ClientModeDebuggerTransport.java:102)
at com.jetbrains.python.debugger.pydev.RemoteDebugger.waitForConnect(RemoteDebugger.java:114)
at com.jetbrains.python.debugger.pydev.ClientModeMultiProcessDebugger.tryToConnectRemoteDebugger(ClientModeMultiProcessDebugger.java:96)
at com.jetbrains.python.debugger.pydev.RecurrentTaskExecutor.tryToPerformTaskAndHandleSuccess(RecurrentTaskExecutor.kt:174)
at com.jetbrains.python.debugger.pydev.RecurrentTaskExecutor.access$tryToPerformTaskAndHandleSuccess(RecurrentTaskExecutor.kt:45)
at com.jetbrains.python.debugger.pydev.RecurrentTaskExecutor$TaskRunnable.run(RecurrentTaskExecutor.kt:100)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
2020-07-15 15:15:35,537 [ 163157] ERROR - debugger.pydev.
 
 
Anyone can help me?
 
Thanks, Seila.

 

 

2 comments
Comment actions Permalink

Hi,

If you deleted settings, than you also have tried creating the interpreter from scracth, correct? Could you please collect Logs from **Help | Collect Logs and Diagnostic Data** and upload them to https://uploads.jetbrains.com/ ? (provide the upload id)

Also add 'PYCHARM_DEBUG=True' env variable to your run/debug configuration and provide full debug output.

As for initial suggestions, since there's seems to be a connection issue, test with antivirus/firewall disabled. 

0
Comment actions Permalink

Hi!

Sorry. I found the issue. I was running django test using coverage with the package django-nose. I disabled the coverage when I debug and all work fine.

 

Kind Regards.

0

Please sign in to leave a comment.