locked
Failed to attach to process: Only 64-bit processes can be debugged. RRS feed

  • Question

  • User1034446946 posted

    Hi

    Not sure how to fix this, when i debug azure functions in visual studio code i get the following error:

    Failed to attach to process: Only 64-bit processes can be debugged.

    which stops the debugging process, but still allows the azure function to run.

    But i can't figure out how to fix it, I have removed by browser and installed the 64bit version,done the same for visual studio code, and core sdk and azre core tools.

    But still the error persists.

    Any help would be appriciated.

    Friday, August 21, 2020 12:15 PM

Answers

  • User1034446946 posted

    sorted

    turns out even thought i had installed the 64it azure function core tools 64bit, it kept using the 32bit bit ones, and even though i had tried uninstalling azure function core tools, it doesn't remove all versions, infact you can have them in multiple places without any control over which one is used.I had to remove all core sdk's all versionsof azure function core tools,all versions of visual studio, then go back and uninstall all versions of azure function core tools again at which point they were remove and i could no long run func start.

    then re install everything in 64bit version.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, August 21, 2020 11:27 PM