Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger ignores spring boot application.yml #408

Closed
dungang opened this issue Sep 6, 2018 · 3 comments
Closed

Debugger ignores spring boot application.yml #408

dungang opened this issue Sep 6, 2018 · 3 comments

Comments

@dungang
Copy link

dungang commented Sep 6, 2018

coded from https://code.visualstudio.com/docs/java/java-spring-boot
I added the file
'src/main/resources/application.yml'
with the following :

server:
    port:8888

I run the debugger with the following Launch configuration:

        {
            "type": "java",
            "name": "Debug (Launch)-DemoApplication<demo>",
            "request": "launch",
            "cwd": "${workspaceFolder}",
            "console": "internalConsole",
            "stopOnEntry": false,
            "mainClass": "com.example.demo.DemoApplication",
            "args": "",
            "projectName": "demo"
        }

The debugger runs with the default port 8080 and ignores the application.yml file

@bobjiang1988
Copy link

Maybe you can find a solution here #402 .

@andxu
Copy link
Contributor

andxu commented Sep 6, 2018

version 0.12.2 will solve your problem, see https://marketplace.visualstudio.com/items/vscjava.vscode-java-debug/changelog,
btw: your yaml is illegal:
port: 8888

@jmalbarran
Copy link

I have the same issue, and currently running the 0.32.1 version of Debugger for Java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants