Skip to main content
Participant
Jun 6, 2024 12:14 PM UTC
Question

Visual Code debugging not working

Hello community,

 

I installed  ColdFusion Builder Extension for Visual Studio Code

 

Followed all the steps enabled RDS and enabled debugging in CF Admin.

 

Created workspace and Project.

 

When I run and debug the application code is going throught the debugging process, the variable are showing as blank in watch window

 

What could be the issue

 

 

    This topic is closed to new replies. Start a new post to keep the conversation going.

    8 replies

    Participant
    Jun 6, 2024 12:22 PM UTC

     

    Below are the screenshots for the CF Server settings in vs code

     

     

     

    Translate
    BKBK
    Community Expert
    Community Expert
    Jun 23, 2024 11:46 AM UTC

    Did you solve this problem? If not, here is a suggestion, to start with:

    1.  Verify that the setting "Document Root" has the value "C:\ColdFusion2023\cfusion\wwwroot";
    2.  Verify that the project directory, testproject, is inside C:\ColdFusion2023\cfusion\wwwroot.
    Translate
    elisabethf82215657
    Inspiring
    Jul 2, 2024 6:26 AM UTC

    Hello BKBK!


    I am also struggling to make debugging in Visual Studio Code work at the moment.


    Up to now we have been using Coldfusion Builder 2018 but as End of Life for this tool comes near I wanted to test the alternative and I really like developing in Visual Studio Code and the Coldfusion Builder extesion.
    But like Glen I did not get the debugger working.

     

    So here is my question: Is it really mandatory to have the project inside the coldfusion wwwroot directory? In Coldfusion builder it was possible to specify another document root and we have this kind of setup on all our severs (including the local development servers on our laptops we (my team and I) use for debugging).

    In Coldfusion Builder 2018 it also was possible to specify a start page which is being activated when the debugging is started, I could not find this setting in the Coldfusion Builder extension.

    I develop on a local server with Coldfusion 2021 and IIS.

     

    When I start debugging I get the message "Debugger Stopped" which is not very helpful, and nothing happens. Is there a way to get additional infos about the problems leading to the error?


    Thank you in advance for any help!

    Translate