none
Visual Studio code can run Python scripts but can't debug Python scripts

    Question

  • I downloaded Visual Studio code on Macbook Air but debugging python (setting breakpoints, etc.) could not be started. I could not find the relevant processing method on the internet.

    User settings are not overwritten by workspace settings and the python path is correct

    However, the debugging function cannot be started, and the error message is output from the debug consolu

    This is error: 

    There was an error in starting the debug server. Error = {"code":"ENOTFOUND","errno":"ENOTFOUND","syscall":"getaddrinfo","hostname":"localhost"}

    Tuesday, March 27, 2018 9:05 AM